How do I make an API request using javascript?

Hi, I want to make an API request using javascript but I have no idea what I’m supposed to do in order to make it work?

You could use

Fetch - https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API
jQuery ajax - http://api.jquery.com/jquery.ajax/

Or any number of methods in JS to perform a HTTP request

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.