How do I call a service with HTTP Basic using Postman? How do I call a service with HTTP Basic using Postman? curl curl

How do I call a service with HTTP Basic using Postman?


curl -u key:secret sends a request with HTTP Basic authentication. It's easy to do this in Postman:

  1. Enter the endpoint URL in the address field.

Enter URL

  1. Switch to the Authorization tab and choose Basic Auth. Enter the key as Username and the secret as Password. Click Update Request to generate the proper Authorization header for the request.

Authorization

  1. Switch to the Headers tab and add the Accept header.

Headers

  1. Press Send.