Broken back-office API call on different environme...
# help-with-umbraco
c
Hi all, Perhaps a bit of an odd question, but when working on a custom backoffice API call made from AngularJS to a custom endpoint in an UmbracoAuthorizedApiController (v8), I'm getting different responses locally than I am on Accept/Production. Locally my JSON response gets prefixed with the typical ')]}',' string you see in back-office AngularJS responses, but on Accept/Production this doesn't happen and therefor causes Angular to not do what I want it to. đŸ¤” Anyone has any ideas why this prefix could be missing on the other enviroments' API response?
Bump, incase anyone has any clues why Umbraco isn't adding json vulnerability protection to this request đŸ˜‡
m
I remember having something like this in the past on aws - it was something to do with cloudfront. can't remember exactly why. is your website behind a proxy?
cdn or something like that
2 Views