What situations should I be using the REST API plugin over the JS plugin to query APIs

Hi Guys,
Could someone explain to me in what situations I should be using the REST API plugin over the JS plugin to query APIs? Is the JS plugin faster?

Hi,
I don’t think one plugin is faster than the other, or the difference isn’t big enough to worry about.
I feel like the REST API plugin really helps you by simplifying the API request, in the end you just enter your parameter and the plugin send them to an axios request.
In my experience, the REST API plugin works great and feels like everything in weweb : you don’t have to remember complexe data structure or how every function work, weweb helps you remember them.
I feel like he only reason you should use the JS plugin rather than the REST API plugin is when you want to create a complex javascript function with asynchronous behavior, not something you usually do with the frontend.

1 Like

@stagiaire Amazing thank you :slight_smile: