I started a new web Application Project in visual studio to use it to connects to a specific HTTPS WebService to get data from database, I click on to add a web reference In the solution explorer and when I type the URL and try validate it I get this error "The request failed with HTTP status 403 : Forbidden." and there isn't any option to add the api key or any other parameters just the URL and once I fill it the error appear and I don't know what should I do? Any help would be appreciated.
FYI : when I use other http webservice everything works fine but for https URL I need the api key and I don't know where to add it.
What I have tried:
Only with Apps like Postman I can make my test with a successful connection to the WebService because there I can add the api-key in the headers configuration of Postman, but with visual studio I only see the URL field when I click on "add reference"