but it fell a little bit hacky to do it for all requests
Is there a better solution? (of course the best it would be to fix it on the API side, but I don’t have an access to it)
a
Ali Albaali
02/19/2021, 4:52 PM
The accept function seems the most appropriate for me. Otherwise you could interrupt the request by installing a custom feature to change the header, checkout this.
k
KamilH
02/19/2021, 5:04 PM
Good idea, thanks. This way I could limit this solution to only the endpoint I know needs this