How to access Atlassian Connect Express backend end points from frontend JS

Just plain jQuery using ajax (so I can get the json content type). The key is to set the authorization header before hand:


$.ajaxSetup({
    headers: { 'Authorization': 'JWT {{token}}'
});

is what we do.

1 Like