Skip to content

Instantly share code, notes, and snippets.

@sankalpjonn
Created November 29, 2020 09:01
Show Gist options
  • Save sankalpjonn/1468715b5fbe8c97bae095e874200cef to your computer and use it in GitHub Desktop.
Save sankalpjonn/1468715b5fbe8c97bae095e874200cef to your computer and use it in GitHub Desktop.
curl -XPUT 'http://localhost:3000/some/url/path?query_param_1=value1&query_param2=value2' \
-H "Content-Type: application/json" \
-H "X-Custom-Header-Foo: Bar" \
-d '{"key1": "val1", "key2": "val2"}'
@Bilalhh25
Copy link

Merci

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment