Test REST API with Dev account

Lee11
Mega Contributor

Hi Experts

I have created a Dev account which has given me a Dev instance. I have customised the Incident record and created some test data. I now wish to test accessing the list of Incidents via the REST API.

I am trying to authenticate over https://[myinstance].service-now.com/oauth_token.do to get a token. I need to pass in user credentials when I do this. My dev account credentials dont work (they are essentially like community credentials). When I access my dev instance I do it from a  button on the Dev login page that says "Start Building". This logs me in as System Administrator. I dont actually know the credentials (ie. username and password) behind this login. I cant seem to reset any user logins and I cant seem to create a new login.

What credential can I use with a dev instance to test the REST API?

 

Thanks for any advice.  

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

if you are using OAuth based authentication then check my blog on how to do the setup

OAuth 2.0 with Inbound REST

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

6 REPLIES 6

Lee11
Mega Contributor

Actually I found a section on the developer page that shows your admin username and password. So that given me a login I can use. However Postman is still returning "access denied".

Ankur - I will check your instructions to see if i can get the admin user working 

In the user profile you can change your password in the password field you can try that in your profile