[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ftpapi] Basic authentication to web service and Postman



The content of the „Authorization“ header is the Base64 encoded concatenation of userName:password.

 

See also Wikipedia: https://en.wikipedia.org/wiki/Basic_access_authentication

 

Thomas.

 

 

Von: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] Im Auftrag von Don Brown
Gesendet: Samstag, 13. Juli 2019 05:04
An: web400; ftpapi@xxxxxxxxxxxxxxxxxxxxxx
Betreff: [Ftpapi] Basic authentication to web service and Postman

 

I am hoping someone can assist/advise as I am a little puzzled

We are working on a new project and using Postman to test web service calls and then this will be coded in RPG and use HTTPAPI.

In Postman we have set up the Authorization as "Basic Auth" and specified the values for User name and Password

When we "Send" the Get request it work ... Great!   But then looking at the generated HTTP I am confused as it appears the basic authorization has been converted to an authorization string

Can anyone advise how this conversion is done or why I am not seeing a User name and Password details in the header ?

GET /sydney/drivers?id=16551 HTTP/1.1
Host: sydney-api.icabbi.com
Authorization: Basic ZWUyNTU1NmJkM2U5ODhiMTRjM2YyMmFmMDc3MzllODljNWJkY2YwNjo2NzExZmJlZTM5YTNjY2ZjYmI2MjljYzI0M2ZhNzQ0MzQ5MjFhNjNh
User-Agent: PostmanRuntime/7.15.2
Accept: */*
Cache-Control: no-cache
Postman-Token: 7862a43b-82d4-408c-aee3-01ccba1daea0,5cd17cca-f6e3-4c3f-b653-ccbf6267d53d
Host: sydney-api.icabbi.com
Accept-Encoding: gzip, deflate
Connection: keep-alive
cache-control: no-cache


Don Brown


 
______________________________________________________________________
This email has been scanned for computer viruses.
Although MSD has taken reasonable precautions to ensure no viruses are present in this email, MSD cannot accept responsibility for any loss or damage arising from the use of this email or attachments.
______________________________________________________________________

--
IMPORTANT NOTICE:
This email is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and email confirmation to the sender.
-- 
_______________________________________________
Ftpapi mailing list
Ftpapi@xxxxxxxxxxxxxxxxxxxxxx
http://scottklement.com/mailman/listinfo/ftpapi