Pass a URL in a querystring?
Vandesm14 (486)

Is it possible for Javascript to send a URL in a querystring/parameter? Like such: https://mysite.com/get?url=https://www.google.com
I have seen that this is possible when looking at the url of https://webcache.googleusercontent.com/search?q=cache:4SjrkOc4UF4J:https://store.steampowered.com/+&cd=1&hl=en&ct=clnk&gl=us

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 (518) [earned 5 cycles]
View Answer
TheDrone7 (518)

@Vandesm14 it might be some other issue then because in my experience that has never happened.