Does curl remove new line characters? Does curl remove new line characters? java java

Does curl remove new line characters?


Yes, curl removes linebreaks from data posted with the -d option. Use --data-binary instead. See SO question How to send line break with curl? for more info.