afs commented on issue #2947:
URL: https://github.com/apache/jena/issues/2947#issuecomment-2589405459

   Hi @lalewis1 
   
   The curl command needs to use `--data-binary`, not `-d`.
   
   `-d @file` reads the file but strips out newlines before sending.
   
   curl man page:
   > When -d,  --data  is told  to  read  from a file like that, carriage 
returns and new‐lines are stripped out.
   
   IMO This is not obvious!
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to