nushell/docs/commands/post.md
JT bff81f24aa
Autogenerate missing docs (#3514)
* Autogenerate missing docs

* Update ansi.md

* Rename question mark command docs

* Delete empty?.md
2021-05-30 12:57:04 +12:00

560 B

post

Post content to a url and retrieve data as a table if possible.

Usage

> post <path> <body> {flags} 

Parameters

  • <path> the URL to post to
  • <body> the contents of the post body

Flags

  • -h, --help: Display this help message
  • -u, --user : the username when authenticating
  • -p, --password : the password when authenticating
  • -t, --content-type : the MIME type of content to post
  • -l, --content-length : the length of the content being posted
  • -r, --raw: return values as a string instead of a table