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.
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.