Use cURL to POST an Array to localhost or any server
It’s as much a note for myself as it is for anybody else, but here’s how it’s done:
curl -X POST -H "Content-Type: application/json" -d '[402112,402113,402114]' http://localhost:3000/
Small. Strange. Written by Jesse LaRue.
It’s as much a note for myself as it is for anybody else, but here’s how it’s done:
curl -X POST -H "Content-Type: application/json" -d '[402112,402113,402114]' http://localhost:3000/