Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

more test example for http request #98

Open
FuGangqiang opened this issue Jan 24, 2022 · 2 comments
Open

more test example for http request #98

FuGangqiang opened this issue Jan 24, 2022 · 2 comments

Comments

@FuGangqiang
Copy link

  • multipart/form
  • x-www-form-urlencoded
  • plain/text
  • transfer file
  • websocket
@EdmundsEcho
Copy link

EdmundsEcho commented Feb 16, 2022

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>

@teto
Copy link
Collaborator

teto commented Mar 9, 2022

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"`
       `}`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants