Each HTTP request sent to our WebAPI server have to contain Header with Basic Authenticate
Authorization: Basic xxxxxx
where xxxxxx= Encode to Base64({YourUserName}:{YourPassword})
Example for: |
username: |
test@test.com |
Pass: |
testpassword |
EncodeToBase64: |
dGVzdEB0ZXN0LmNvbTp0ZXN0cGFzc3dvcmQ= |
About Encode/decode 64Base read more
here
On this way generated Header attribute MUST BE included in every HttpRequest
We kindly recommend that if you use Public web location to send HTTP request always make it through HTTPS