Skip to main content
Participant
April 13, 2020
Question

Trying to connect to API

  • April 13, 2020
  • 0 replies
  • 329 views

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...

    This topic has been closed for replies.