cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

HTTP Status 405 only when I'm calling PUT in HTTP instead of HTTPS

Former Member
0 Kudos
758

Hello,

I have severall REST interfaces that both use GET and PUT/POST calls and I'm a current error of "HTTP Status 405 – Method Not Allowed" only when I'm calling by uri in HTTP. When I'm using HTTPS it works perfectly. The odd thing is that this only happens in PUT/POST methods, the GET works fine in HTTP.

I've disabled the HTTPS spring security parameters in the storefront and I still couldn't get it running.

Anyone have any ideas what it could be?

I'm running on 6.7.0.0

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

change <intercept-url pattern="/**" requires-channel="https"/> to <intercept-url pattern="/**" requires-channel="any"/> I hope it work for you.

Former Member
0 Kudos

Can you please tell us how to disable https in security-v2-spring.xml file in active webservices extention . i already try to modify security-v2-spring.xml requires-channel i s changed to http but it is not working

Former Member
0 Kudos

you need to change in security-v2-spring.xm in your active webservice extension. store front is not responsible for webservice security.

Former Member
0 Kudos

Did you disable https from webservice extension or from storefront. I think you have to disable from webservice extension

Former Member
0 Kudos

I've tried to disable it on the storefront side, no effect on the webservices. I haven't found any configs forcing HTTPS on the webservice extension, the odd thing is that all the GET methods works on HTTP, but the POST/PUT don't.