rest.nvim
rest.nvim copied to clipboard
more test example for http request
- multipart/form
- x-www-form-urlencoded
- plain/text
- transfer file
- websocket
Adding to the list of examples, here is how I'm including a session token acquired from a prior post request:
GET http://locahost:3010/users
Cookie: session_token=<token>
# or/
Authorization: Bearer <token>
also I think the help should mention the post payload must be in a new paragraph apart from the headers
3. Now, we set the body of our request. (<--- todo mention a newline here)
`{`
` "name": "morpheus",`
` "job": "leader"`
`}`