JCV Posted December 18, 2018 Share Posted December 18, 2018 Hello, I actived Webservices and created a user. When I go to tha url/api/ with a browser, user is asked then api is browsed. When I use curl (in command line) with --user usercode: url/api/ I'v got an error 403. I use Prestashop 1.7.4 on OVH server. I do the same on Prestashop 1.6 on ONE server, everything is ok. Must I change a parametre on OVH ? Is something change in 1.7.4 ? Thank you for your help. JC Link to comment Share on other sites More sharing options...
JCV Posted December 19, 2018 Author Share Posted December 19, 2018 I can connect to a Prestashop 1.7.2.4. It seems that the problem comes from apache but I don't know where to look Link to comment Share on other sites More sharing options...
El Patron Posted December 19, 2018 Share Posted December 19, 2018 see this search it may have answer 1 Link to comment Share on other sites More sharing options...
JCV Posted December 19, 2018 Author Share Posted December 19, 2018 Thank you El Patron. The solution is adding ' -A "Mozilla" ' Now it's ok ! Link to comment Share on other sites More sharing options...
JCV Posted December 20, 2018 Author Share Posted December 20, 2018 I still have one problem. I can do POST and GET but I can't do PUT. Apache send me 403 forbidden Link to comment Share on other sites More sharing options...
El Patron Posted December 20, 2018 Share Posted December 20, 2018 jc if stuck and hosting not helping and without hosting access this is difficult to solve (for me) in forum. I recommend posting in job section forum for affordable competent paid fix. Link to comment Share on other sites More sharing options...
JCV Posted December 20, 2018 Author Share Posted December 20, 2018 The problem is totaly fixed ! OVH.COM has a Firewall who stops spécific trafics. Somebody from the OVH forum helped me. Thank you for your help to. JC Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now