Discussions

Ask a Question
Back to All

URL Encoding

I am making a get request to a multi instance panel with the following url:

https://imis.imiscloud.com/api/multi_ScholarshipOptions/~12345|2

But when I add the whole request to a content page the url is being encoded and the pipe turns into ascii %7C in the url and it returns a 404. Is there something I can do from the client side to fix this or is this an encoding problem on the server side?

Admin

I get 404 returned when I attempt it that way. I was able to get it working using the string method around it( ex. String(https://imis.imiscloud.com/api/multi_ScholarshipOptions/~12345|2). But I have used that same format for another request and the pipe ("|") is being changed to %7C again. So it works in once spot in my code but not in another. How are we supposed to be passing the "|" in javascript on content pages without it being encoded so requests actually go through consistently?



Contact us
Copyright © Advanced Solutions International, All rights reserved.