Jump to content

Webservice How to Login


Recommended Posts

Hi ALL, i have fixed lots of different problems by using this forum, thank you for all. Now, i have search whole web, find some topics but no solution. 

My version is Prestashop,  PHP version 5.6.36, Enable CGI mode for PHP enabled/disabled doesnt matter

but the files are similar with lastest version.. 

The problem is domain.com/api is not working with just submiting api key. it is just working by using domain/api?ws_key=YOUR_KEY or another version [email protected] ect ect.. 

But i must use a web application which needs domain name and api key, so other solutions are not suitable for me. it is working at localhost by using just api, (same version and database and files) it means it is realted with hosting but i couldnt find any error, made config files error log True, i try to do just view(get) . I asked them, but what is the question ? so no clear answer. 

what can i do ?  any idea ? any way ? 

htaccess is 

RewriteEngine on
RewriteRule . - [E=REWRITEBASE:/]
RewriteRule ^api/?(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]

i read this , same.. https://www.prestashop.com/forums/topic/430312-presta-api-keep-asking-for-username-password-authentication-required/

Edited by burakpresta3 (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...