我已经尝试过以下方法来发送带有curl的换行符,但\n不会被curl解释.
\n
curl -X PUT -d "my message\n" http://localhost:8000/hello
如何使用curl发送换行符?
curl newline http
curl ×1
http ×1
newline ×1