Reputation: 181
I deployed my project using the cloud run service of google. I have added a role for allUser is Cloud Run Invoker. With this permission, I can call service with the GET method. But I can not use the POST method. Please help me. Thanks
Upvotes: 2
Views: 2410
Reputation: 75745
If you reach your Cloud Run with the GET HTTP verb, you can reach it with POST also. The security layer of Cloud Run, performed by Google Front End, is only in charge to check the security, not the type of access.
You shouldn't receive a 403 or 401 error, maybe something like 501 Not Implemented. Check your webserver and validate outside Cloud Run that it accepts POST request.
Upvotes: 1