curl --request POST --url http://localhost:8000/test --header 'content-type: application/json' --data '{"msg": "testing"}'
-o [outfilename]
--header ""
--insecure - dont check certificate (same as -k)
When downloading zip archives you need to append -L