Jump to content

Webservice Authentication Problem


TeeT
 Share

Recommended Posts

Hello there,

 

I try to develop a desktop application on c# which connect to website database via webservice. 

I added a web service to my site and acctivated it. when i try this service on browser it is asking me authentication code 

over and over again.

 

I research this subject on forums and google, there are some solution which i can find. I tried these solution but 

i was not successful. My prestashop version is 1.6.0.14.

 

following solutions that i tried before;

 

  1. pass the authentication code inside of URL.
    exmp;
    http://[autohenticationcode]@example.com/api
    Or
    http://www.example.com/api/?ws_key=[authentication code]
  2. recreate of .htaccess file
  3. add some code into .htaccess and webservice/dispacher.php files 
    for example : 
    https://www.prestashop.com/forums/topic/430312-presta-api-keep-asking-for-username-password-authentication-required/ 
    and i tried this modification
    http://forge.prestashop.com/browse/PSCFV-7266#comment-4872

 

i dont have any idea about php i just wanted to use web service of a website. please anyone has idea about this problem answer me. :)

 

thank you in advance

  1.  
Edited by TeeT (see edit history)

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More