How to do requests to an API Rest from a React component on vtex io?

Is this possible? I'm playing a bit with vtex io and it seems you can only use Graphql for communicate with external services.

I'm really new on this platform so maybe I'm just not following the right approach.

Thanks!

Hello @Francesc Leveque​ have now some scope about how work with VTEX IO? Per example, I need show one notice on the cart of front-end store... using info from master data...

Hello @Juan Siesquen​

From what I know, you have to create a react component requesting from master data using graphql, or node.js using vtex api, or something like that, and call it via ajax to write its response.

Answering my own question, we finally used node.js to access the external service to avoid CORS issues.