Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How do i get username and password in postman

Ashok_308
Tera Contributor

Hi I'm unable to get the username and password automatically in postman while create the incident record via Table API in Rest API explorer.

1 REPLY 1

M Iftikhar
Tera Sage

Hi @Ashok_308,

 

To authenticate the API request, ensure you're using the correct authorization method in Postman (Basic Auth or OAuth). In Postman, go to the Authorization tab, select "Basic Auth" or "OAuth 2.0," and enter your credentials. Also, make sure you include the Authorization header and Content-Type as application/json in the request headers.

If you're using the REST API Explorer, you don’t need to manually provide credentials, as it automatically uses the session from your logged-in user.

 

If this isn't the issue, please provide more details about the issue or behaviour you're experiencing so I can assist further.

 

If my response helped, please mark it as the accepted solution so others can benefit as well.

 

Thanks & Regards,
Muhammad Iftikhar

If my response helped, please mark it as the accepted solution so others can benefit as well.