=== -L, --location ===
(HTTP) If the server reports that the requested page has moved to a different location (indicated with a Location: header and a 3XX response code), this option will make curl redo the request on the new place.
=== -d, --data <nowiki><data></nowiki> ===
(HTTP MQTT) Sends the specified data in a POST request to the HTTP server, in the same way that a browser does when a user has filled in an HTML form and presses the submit button.
If you start the data with the letter @, the rest should be a file name to read the data from, or - if you want curl to read the data from stdin.
Examples:
curl -d "name=curl" <nowiki>https://example.com</nowiki>
curl -d "name=curl" -d "tool=cmdline" <nowiki>https://example.com</nowiki>
curl -d @filename <nowiki>https://example.com</nowiki>
== 예시 ==