Curl Headers

In notebook:
FrontEndMasters Networking and Streams
Created at:
2017-09-23
Updated:
2017-09-23
Tags:
backend

You can set headers with -H

$ curl -X POST http://localhost:5000 -d title=whatever \
  -d date=1421044443 -d body='beep boop!' -H cool:beans

this will set the http headers to cool: beans. Some servers will not allow you to do this.