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?
Partecipa alla discussione - aggiungi un commento di seguito:
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