Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Trying to connect to API

New Here ,
Apr 12, 2020 Apr 12, 2020

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

294
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation
Resources