Unable to test json code in "rest API explorer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2025 04:45 AM
I am just testing the integration after system got upgraded
As per the steps mentioned in my sheet, i am required to test the code in rest API explorer, but every time when i am testing getting 400 bad request, seems i am making some mistake there.
I am also not sure which table to select but i have 2 tables in my system contaning the integration name "LIMS" hence i have tried with both the table name selction but still not working.
Please suggest what is the issue here.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2025 05:59 AM
If the REST call is just to read records, then it should be a GET, not a POST.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2025 06:16 AM
I think its better to correct table name. and Also verify what should be final output so that you will get know whether you are creating record in other system or just fetching record details. Depending on which you can select appropriate method.
Also, its always better use date time in ISO 8601 format as shown below so change your date time value in below format and retrigger.
2025-05-06T13:10:00Z
Regards,
Abhijit
ServiceNow MVP