I’m using a third party library in my web application which requests a remote server something like http://bit.ly/2Umo5Sa and the example.com is blocked in a company due to some restriction so I need to catch this request and send it by another server or proxy.
So the question is how can I catch the req first (cause I’m not the one who makes it) and then make that request by proxy or something and give back the answer to that third party library? Should I have to do it in service workers?
Please add code to your answers. Any help would be appreciated!
Aucun commentaire:
Enregistrer un commentaire