Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2024 11:29 PM
Hi @VishaalRanS
When utilizing ServiceNow Rest APIs, you should adhere to the following best practices:
- Always make sure your rest api user has required access to the table and data. I would also suggest to give only " Web Service access only " to restrict the user's access to api access only.
- Instead of Basic auth, try using the OAuth as its more secure than Basic Auth.
- Always log the API failures so that you can check the issues in details when required.
- In Rest API's, the best way to practice is Http method.
Please mark this solution as "Helpful" and "accepted solution" if this solution helped you in any way.
Regards,
Sai Krishna