User Tools

Site Tools


send_post_content_with_curl

Content :

<?xml version="1.0" encoding="utf-8"?>
<content>
mycontent
</content>

Curl command :

curl -d @file.txt -X POST -w '%{http_code}\n'  http://yourserver.example.com

send_post_content_with_curl.txt · Last modified: by 127.0.0.1