Highlighted

Trying to connect to API

New Here ,
Apr 12, 2020

Copy link to clipboard

Copied

Hi all, I have use the cfhttp to call the API and upload a document on it. In hte cfhttp, i have insert <cfhttpparam name="Authorization" type="header" value="BASIC #token#">. The #token# is combination of Key:Secret. When i run this, I still get a result "HTTP Status 401 – Unauthorized, Full authentication is required to access this resource, The request has not been applied because it lacks valid authentication credentials for the target resource." The key and secret is worked when i try in POSTMAN. I really have no idea on it, I already stuck with this few weeks. Hope someone can help...

Views

53

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Trying to connect to API

New Here ,
Apr 12, 2020

Copy link to clipboard

Copied

Hi all, I have use the cfhttp to call the API and upload a document on it. In hte cfhttp, i have insert <cfhttpparam name="Authorization" type="header" value="BASIC #token#">. The #token# is combination of Key:Secret. When i run this, I still get a result "HTTP Status 401 – Unauthorized, Full authentication is required to access this resource, The request has not been applied because it lacks valid authentication credentials for the target resource." The key and secret is worked when i try in POSTMAN. I really have no idea on it, I already stuck with this few weeks. Hope someone can help...

Views

54

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Apr 12, 2020 0

Have something to add?

Join the conversation