This is probably a super-easy answer for most folks, but I'm new to back-end. I'm using Express.js to implement my server, and I need to retrieve courses from the edX API. Below is the sample request they have on their docs:
curl -X GET -H "Authorization: JWT {access token}" https://api.edx.org/catalog/v1/catalogs/
and I can't seem to find a starting point on how to translate this to Express.js implementations. I was able to perform similar requests to another API using 'request-promise'), but this is the first that requires a JWT Auth...
Thanks a ton in advance!