How long can the REST API call URL be?

Shrinil
Tera Contributor

I want to query the Table API for sys_db_object by providing few table names in the query param to get their info.

This makes the URL longer than 500 characters. I tested that URL on couple of instances with Postman as well as python. I am able to make the API call and get expected response.

So I want to know if all the instances have a large limit for URL by default and I will be able to make the API call successfully on all of them?

FYI: Making changes into Servicenow account is not easy since I do not have the access to it.

5 REPLIES 5

The issue for me is I am not getting that error and I have tried 3 instances with different versions. I want to know the max limit for URL length because I do not want to face issue on any of my client instances after finalizing the URL.

I even tried by adding more fields to sysparm_query and sysparm_fields and made URL length 3000+, still did not get the error.