Pass a URL in a querystring?
Vandesm14 (890)

Is it possible for Javascript to send a URL in a querystring/parameter? Like such:
I have seen that this is possible when looking at the url of

But the question comes about how to do this. I've tried URI encoding, which does not work (the request decodes it and tries to do "https:/store.steam", which is not what I want. Is there any form of conversion that I can do to allow a URL to go into a URL querystring?

PS: I cannot use websockets or anything besides a get request

You are viewing a single comment. View All
Answered by TheDrone7 (594) [earned 5 cycles]
View Answer
Vandesm14 (890)

@TheDrone7 Yes, but encoding the URL does not work as it is decoded as soon as the get request is sent to my server.