Teaching myself API part 2. - Fiat to Crypto problem
I know that there's already another thread on this. But it's kind of polluted and I'm easily distracted. Plus, I like to think someone else might be learning from my questions.
The api docs clearly mention being able to perform a fiat exchange, however there are no examples offered of actually doing so.
Replacing the "currency from" field provided in their example with "fiat" or "USD" only wields a 404 error.
It seems making a usd to crypto exchange requires some more involved changes to the POST request, but they failed to properly document it when they added that feature.
I have even gone to the length of sending a GET request to /get_all_currencies; returning a list of all offered currencies. I had hopped they simply gave USD a weird name causing the aforementioned 404 error.
Disappointingly I was able to find USD correctly listed as USD
https://api.simpleswap.io/#/Exchange...createExchange
The error

__________________
officially retired as of March 01 2018 but still fucking around and getting into shit.
|