What is Origin URL when making HttpRequests from Visual Studio Unit Tests?

30 views Asked by At

I am using Visual Studio 2017 to run an integration test (TestMethod) to make read requests to a service.

The issue is that the service has Access-Control-Allow-Origin security implemented, meaning that it only allows the requests if the sender's url (i.e. origin) is specified/recognized by the service.

Question

How can i find out what the origin url when running unit tests from Visual Studio?

0

There are 0 answers