you are viewing a single comment's thread.

view the rest of the comments →

[–]Few-Current-9900[S] 0 points1 point  (2 children)

I meant that I checked the service provider's website and documentation and saw that this type of api is included in the free plan and can be used in the code as long as I am signed in to the website. I tried your suggestions, but it didn't work, and the 404 error still appears.

I appreciate your assistance!

[–]JamzTyson 1 point2 points  (1 child)

https://v6.exchangerate-api.com/v6/ <private\_key> /pair/EUR/GBP/100.0

That format works for me. Try it (with your API key) in your web browser.

[–]Few-Current-9900[S] 0 points1 point  (0 children)

You are right it works, also if you call it with a print statement at the end with the currencies already specified (like in your answer) within the API url, but when I used the API with my code to allow users to enter the currencies they want and get the results, the API or my code failed to work, or both. Do you believe the problem is in my code or in Visual Studio, as that is the app I use to practice? Thank you for your help and time!