Hi,
I'm working on a plugin project that uses AngularJS and the JQuery used inside Angular's environment is not the AJS.$.
Since I'm using a different JQuery, my requests to the JIRA REST API has no query string with the timestamp (eg. /rest/api/2/project/_=12351345234). If I run the same request using AJS.$, the timestamp is added as a query string.
This is causing a 403 (Forbidden) status when doing the request with AngularJS, but just in some servers - I don't know what difference on the server may be causing this...
Is this a normal behaviour? Why am I getting the forbidden status just for not adding the query string?
Thanks,
Vitor
Community moderators have prevented the ability to post new answers.
Sure, it's for cache busting. I'm very sure the credentials are valid. When I use the Chrome's console to do both requests (one with the query string and another without), just the one with the query string works. The request headers are exactly the same.
Timestamp is for cache busting, I believe. are the auth credentials valid?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.