curlXML request example
curl -X POST https://reqbin.com/echo/post/xml -H "Content-Type: application/xml" -d "<test><name value='Donald'/></test>"ctrl + c| -X POSTsend POST request | /echo/post/xmlsample URL to post XML to | 
| Content-Type: application/xmllet curl know that we're sending XML | -dspecify data to send | 
| <test><name value='Donald'/></test>sample XML to post | |
More of Curl
- How to send HTTP 1.1 request
- Setting "x-forwarded-for" header
- Show progress bar for file uploads
- Get my IP address
- How to set request content-type
- Download and extract gzip file
- Download and extract zip file
- How to set Origin for request
- Install curl in Ubuntu 22.04
- Piping curl response to xargs
See more codes...