Did you know about #curl's --json flag?
When you work with JSON data, curl can take care of the json content-type/accept headers for you:
curl --json '{"msg": "hello"}' example.com
Peter Vágner likes this.
reshared this
Did you know about #curl's --json flag?
When you work with JSON data, curl can take care of the json content-type/accept headers for you:
curl --json '{"msg": "hello"}' example.com
Peter Vágner likes this.
reshared this