classic asp calling an api using addheader for authorization
问题 I have a page that calls an api that in test mode has not required any authorization. We are now moving to a live environment where a username and password will be required. The api provider has sent the following message: To access these services please send the requests by adding following HTTP header. Authorization: Basic Base64Encode(“username: password”) I'm not sure of the correct syntax and wondered if someone could help me out. The original call (and working perfectly) is: Dim xmlobj,