Answers for "curl data-raw from file"

0

curl adding body

curl -X POST -H "Content-Type: text/plain" --data "this is raw data" http://78.41.xx.xx:7778/
Posted by: Guest on November-27-2020
1

curl data from file

curl -i -X POST host:port/post-file \
  -H "Content-Type: text/xml" \
  --data-binary "@path/to/file"
Posted by: Guest on December-02-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language