JIRA Cloud
I simply use Jquery ajax function for making rest calls to my plugin.
jQuery.ajax({
url: '/report/table',
type: 'GET',
async: true,
data: tempParameterValues,
traditional: true,
timeout: Context.constants.TIMEOUT,
complete: function(response, status, jqXHR) {
}
)
This request sends successfully when addon base url define as https//test.com/ on atlassian-connect.json
base-url: https://test.com/
But when extend base url with context path, ajax requests fail with status code 404.
base-url: https//test.com/testApp/
How can i send request by using context path defined on atlassian-connect.json?