LyubomirD / FrontendWebApplication

My frontend that is separated from all the microservices
0 stars 0 forks source link

Error 403 (Forbidden) #1

Open LyubomirD opened 1 year ago

LyubomirD commented 1 year ago

I have run into that error only in my frontend, in Postman when I test my Gateway API and my microservice I get 200 and 201 status code, which mean everything is fine and it works as expected! I have changes my javascript, because I was concern that the frontend would be the cause of the error, because I said in Postman, I do not face any problem.

Still trying to solve the issue!

LyubomirD commented 1 year ago

I am 100% sure the frontend causes the error 403 (forbidden) because I have debugged the backend when sending http from both my frontend and Postman.

When I send http from Postman, the microservice gets some kind of input and I can start debugging the code. I can see the input that the http has send to my microservice and I can see how my code reacts to that http input!

However, when I send http input from my frontend I can not start to debug the backend code, because it is still waiting for an input from somewhere. This would mean that not a single http input has been send to the Gateway, meaning no input for the microservice to manipulate.

On the other hand, I could not be getting any input from the frontend because of the 403 error that somehow "blockes" my input to be send to the backend.