#How to add axios library?

1 messages · Page 1 of 1 (latest)

pale path
simple minnowBOT
#

Hey There,

We've registered your query, and our team will get back to you soon.

Regards,
Pranav

#

Hello!
Not all libraries are supported on Appsmith due to platform limitations.
Can you tell us what your use case is for needing these libraries?

pale path
pale path
#

Your sample code, works fine:

const questions = await fetch("https://opentdb.com/api.php?amount=10") return questions.json()

#

Maybe the httpS?

simple minnowBOT
#

Have you tried using our REST API integration instead? You can read more about
this
here.

pale path
#

yes, but how can i send a dynamic parameter for the url?

simple minnowBOT
#

Can you elaborate on your use case for a dynamic URL? Our query editor allows
sending header, body, and query params.

pale path
#

I need to call the data with a parameter:

http://pmafranio.cetecpublica.com.br:8079/Transparencia/VersaoJson/Despesas/?Listagem=DetalhesEmpenhoPorNumeroEmpenho&intNumeroEmpenho=${productID}&strTipoEmpenho=OR&Empresa=2&bolMostrarFornecedor=True