Skip to Content
0
Nov 28, 2019 at 07:12 PM

403: Forbidden for the REST API POST request on Java backend on Cloud Foundry

3423 Views

Hi,

I have been trying to connect my Sapui5 front-end with the java back-end(springboot application) using Rest Api on cloud foundry. The post request is giving me 403: Forbidden error. The issue is because of X-Csrf-Token. I saw a lot of blogs and have tried the solutions in them but that didn't work.

It would be really helpful if someone can help me with the right way to fetch the token from back-end and process the request from the front-end with the token.