Check if the server expects a trailing newline in the JSON. Some do, some don’t. Also, `-d @data.json` should work, but maybe the API needs auth? Try `-u user:pass` if it’s protected.
For big files, `curl --trace-ascii debug.txt` can help log the request.
For big files, `curl --trace-ascii debug.txt` can help log the request.
