Hey everyone,
I have been trying to use Alteryx to connect to an API to execute automated trades through a cryptocurrency exchange. Unfortunately, I have no experience working with APIs, and I am having a bit of a hard time getting this to work.
Below is a screenshot of my current workflow. It starts by taking the api keys from the text input node on the left (I cannot share these as they are connected to a real account), then creating the variables to pass for the POST request, and sends the request using the download tool.

When I run the workflow, here are the results: 
In an attempt to get the API-key to be in the valid format, I converted the two fields into JSON, see screenshot below:
As you can see I didn't do this correctly and I am getting the same error. One theory I have is that the field itself should be named API-key with the two JSON strings for the api keys, but I'm not actually sure how I would get to that structure.
Does anyone have any good resources on using APIs in Alteryx? Or is there anywhere I can go to learn what I need about making API requests in general?
I am using the Binance Exchange API:
I could also use the KuCoin Exchange API if that is easier for whatever reason: https://docs.kucoin.com/#permissions
I have attached the workflow screenshotted above, but unfortunately I had to hide the api keys and replaced them with "xxxxxx123" since they are connected to an account with money in it. Although not exactly reproducible and would throw an authentication errror, the message returned by the exchange should say something different than "API-key format invalid" if it were in the correct format.
I would really appreciate any help/insights anyone has to offer!
Ricky