Hello,
I am using the download tool to use a POST API but am stuck on the authorization part. I've received two errors from the application (BuildingOS)
DownloadData
{"errors":[{"message":"Invalid username/password."}]}
DownloadData
{"errors":[{"message":"username/password not properly base64 encoded."}]}
I've tried using an article here that gave the following directions but I don't find the part on base64 encoding very descriptive. Could someone help clarify how to use the base 64encoded tool with the download tool for basic authorization? Thanks
Solved! Go to Solution.
Thats how I've set it up
Thank you! I just changed "bearer " to "basic " and that worked.
Ah good catch 🙂 Bearer is for a different Oauth flow while basic is for base64 encoded basic authentication. Glad it helped!
being new to Rest API and after watching multiple videos and reading multiple documents for last 3 days, I ended up here. No one mentioned Base64 encoding which is relevant for basic authentication. Thanks a ton!
do we have training videos on Rest APIs? Appreciate if you can provide some content
@ayush_mishra I might have what you are looking for :)
A lot of people ask about how APIs work in Alteryx so I created this write up which covers all of the authentication mechanisms and is a good starting point for people to learn: https://community.alteryx.com/t5/Engine-Works/APIs-for-Beginners-Integrate-All-the-Systems/ba-p/8074...
thanks!
Hi,
I am using Alteryx to download data from an API. It is a post request. I could do the same in Postman. However, in Alteryx, I am using a text input as well as Blob for the same. However, I am getting an error
HTTP/1.1 405 Method Not Allowed
allow: GET
Postman was successful with the same data as binary file attachment with POST.
The same workflow worked earlier on Alteryx too. I am wondering what changed.