How do I test POST requests in "Postman" in places that need to use session authentication?

Asked

Viewed 908 times

1

Postman is the built-in Google Chrome browser app I use to test my POST requests.

https://chrome.google.com/webstore/detail/postman/fhbjgbiflinjbdggehcddcbncdddomop

But the area I want to access is only accessible through login and password. However, since it is not a REST API or anything similar, I have not implemented any of the authentication types that are supported by the application.

  • In the Auth
  • Basic Auth
  • Digest Auth
  • Oauth 1.0
  • Oauth 2.0 Hawk
  • Authentication AWS Signature

How could I test POST requests without necessarily having to disable my login protected area? Is there a way to accomplish this at POSTMAN or is there some better alternative?

1 answer

-1

Try this link

Or, if you’re using token... copy the token from your code and add it to the header (header): Authorization: Bearer Token_string (key: "Authorization" value: "Bearer Token_string" ) without quotation marks... only to indicate the string

Browser other questions tagged

You are not signed in. Login or sign up in order to post.