These docs are for v20.3.44. Click to read the latest docs for v20.3.186.

Discussions

Ask a Question
Back to All

ASI - ReST API call Enhancement

Good morning,

We are attempting to update a record in a multi-instance panel created through staff site using an Ajax request. In ASI documentation it states to use a URL with both Primary Keys like this: https://testapi.com/api/TABLE/~123|2. When submitting the request through PostMan for testing it works fine. When the ajax call gets submitted the URL gets encoded and ends up looking like this: https://testapi.com/api/TABLE/~123%7C2. The pipe gets encoded to the ASCII value and so far we have not found a way to get around the encoding as it is automatic. The problem is that ASI’s ReST API does not seem to account for Encoded URL’s so it just throws an error.

Is there any solution already in place to accomplish what we are talking about?

Thanks,