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'' =====Links===== * https://stackoverflow.com/questions/30179722/statically-link-libcurl-to-project-still-requires-dll