Comment

Comment by dsego

Is there a command line tool or editor plugin where I don't have to specify parameters, learn all the options. Instead I would just point it to an "http file" with http syntax and it "runs" it. Meaning the file contents are the http request that I want to send, eg

    GET / HTTP/1.1
    Cookie:
    Accept: text/html,...
    Host: news.ycombinator.com
    Accept-Language: en-GB,en;q=0.9
    Accept-Encoding: gzip, deflate, br
    Connection: keep-alive
And the I can just run it like so `http myRequest.http` There are some decade old sublime text plugins that claim to do this, but none of them seem to work anymore, from what I'm seeing.
parent dsego 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton