Quantcast
Channel: Azure Networking (DNS, Traffic Manager, VPN, VNET) forum
Viewing all articles
Browse latest Browse all 6513

Azure service doesn't encode slash in GET request

$
0
0

I need to make a GET request to google storage api.

In my local machine, i was able to get the data i wanted, however when i published it to azure cloud, it couldn't get the wanted file. I traced and found out that in my local machine the request URL:bla/bla/file%2Ffilename

but in azure it was bla/bla/file/filename

In short, my local machine was able to encode "/" to "%2F" before sending the request, Azure cloud service didn't. I tried adding "%2F" in front of fileName but Azure cloud encoded it into "%252FfileName" and google didn't like that either.

I am using WEP API 2.2 latest stable nuget. I am aware of WEP API 2.2 issues, but i can't work around this.

Any idea on how I can make this work in Azure Cloud?

Thanks in advance.


Viewing all articles
Browse latest Browse all 6513


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>