Modify RESTMessageV2 setEndpoint length limit
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-31-2023 03:29 PM
GET calls up to a certain length aren't hitting my API, if I reduce the length of the total endpoint the call goes through. However, I need to be able to make GET calls with long query strings to external API. How can I increase the length limit for these calls?
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2023 01:46 PM
I managed to resolve the issue.
The problem was due to encoding. Values passed to sysparm_ were BASE64 encoded which, by default, is not URL safe. Using encodeURIComponent() on the value before making the API call resolved the issue.