Comment

Comment by nindalf

One pattern I really like is opening the networks tab of the browser, finding the request I'm interested in and "copying as curl" - the browser generates the equivalent command in curl.

Then I'd use something like https://curlconverter.com/ to convert it into request code of the language I'm using.

In a way curl is like the "intermediate representation" that we can use to translate into anything.

parent nindalf 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton