Currency Converter

FREEMIUM
Verified
By Geo API | Updated 9 days ago | Finance
Popularity

9.9 / 10

Latency

136ms

Service Level

100%

Health Check

N/A

Back to All Discussions

Variable endpoints

Rapid account: Blaze Akin
BlazeAkin
4 years ago

Hi there!
I am designing a Node.js file that converts the currencies using you api for personal use.

I just have a question, what do i do if i want to change the “to” and “from” .query() parameters? E.g.

I want this so that the to and from variables can change:

currencyConvertRequest.query({
“format”: “json”,
“from”: from.toUpperCase(),
“to”: to.toUpperCase(),
“amount”: “1”
});

But when i run this, it gives me the first currency codes i entered, and not the ones i entered lastly. Is there a way to change those parameters?

Rapid account: Jhayboy
jhayboy Commented 2 years ago

hi my name is justice i am a software developer(beginner), this is my third month into web developing and and i have decide i would love to follow this path, i was learning how to create a currency converter before my laptop crashed, i still went further is use my phone but it is really uncomfortable for me, i am trying to raise fund to get a new laptop so i can continue, here is my btc wallet 36CQZ4KtvnLHPYUcYAb8DLRsZihWeVoLvp address i would really appreciate anything, if anyone can see this out there please assist me

Join in the discussion - add comment below:

Login / Signup to post new comments