Skip to content

Instantly share code, notes, and snippets.

@garystafford
Forked from fredrik/gist:6166061
Created February 24, 2017 19:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save garystafford/485b481553d5e7a5afa7c3c08ed36612 to your computer and use it in GitHub Desktop.
Save garystafford/485b481553d5e7a5afa7c3c08ed36612 to your computer and use it in GitHub Desktop.
POST yaml with curl
curl -X POST --data-binary @payload.yaml -H "Content-type: text/x-yaml" http://localhost:4200/some-url/1024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment