I'm teaching myself API and I've got a problem.

Discussion in 'Computers and The Internet' started by BlondeTabu, Jun 1, 2023.

  1. BlondeTabu

    BlondeTabu Members

    Messages:
    24
    Likes Received:
    49
    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 DID find that USD is correctly listed as USD.

    Here are the screen shots of my problem:


    The documentation : Swagger UI

    Screen Shot
    [​IMG]

    Screen Shot #2
    [​IMG]
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice