Testing a JSON API with Curl
I’ve been working a lot on JSON APIs during the past few years, and even more intensively lately. If testing GET requests is straightforward, for POST requests I often had to look at Curl documentation again for exact options names and parameter syntax for sending the desired HTTP headers. So I decided to post some quick notes on doing unauthenticated POST requests, in order to have a quickly accessible reference....