Hi Karl,

OpenShift does not differentiate between post and get. Also 405 is a server
error: "the request method is known by the server but has been disabled and
cannot be used". The issue is likely to be at the level of your application
providing the REST API. To validate it you could log into a container
serving the REST API (oc rsh <pod-name>) and use curl locally.

Regards,

Frédéric

On Thu, May 24, 2018 at 4:35 PM, Karl Nicholas <[email protected]>
wrote:

>
>
> In OPENSHIFT I have one application in a cluster attempting to access
> another REST application but I'm getting a HTTP 405 Method Not Allowed
> for a POST request. The GET requests seem to be okay, so I'm thinking
> it's a permission problem. This should be pretty typical micro-services
> architecture on openshift. So far I cannot figure out where to look for
> permissions or how to fix this error. The URL for the service I have set to
> http://rs.opca.svc.cluster.local:8080/statutesrs/rs/. The application
> attempting to do the post is named op. Is this a permissions problem or
> do I need a different URL? If permissions, how do I fix it?
>
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
>


-- 
*Frédéric Giloux*
Principal App Dev Consultant
Red Hat Germany

[email protected]     M: +49-174-172-4661

redhat.com | TRIED. TESTED. TRUSTED. | redhat.com/trusted
________________________________________________________________________
Red Hat GmbH, http://www.de.redhat.com/ Sitz: Grasbrunn,
Handelsregister: Amtsgericht München, HRB 153243
Geschäftsführer: Paul Argiry, Charles Cachera, Michael Cunningham, Michael
O'Neill
_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to