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
let encoded = encodeUriComponent("http://google.co.in"); which will encode the URL to be able to send as a part of the query string in her request. You can later decode it in the same way using the
Here's how the encoding is done - https://www.w3schools.com/tags/ref_urlencode.asp
You can always use this to build a perfect encoding and decoding function that suits your needs.