Created
February 14, 2017 10:17
-
-
Save lucnap/a7b8c60216e6852758601358c66d3c3c to your computer and use it in GitHub Desktop.
Send xml file curl with header and user
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -k --user USER123:pwd123 --header "Content-Type: text/xml;charset=UTF-8" --data-binary @myfile.xml https://web.site.com/endpoint | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment