azrael_11 0 Posted July 23, 2019 Try to connect to cscart Rest API Server The documentation here says that Uses Basic HTTP authentication so but the e-mail and the api-key must encode to base64 encoder. So i encode the email and api and try with the rest tool that embracedero provides. I add in the authentication tab the basic and in user name the encoded with base64 email and in the password the encoded with base64 Apikey. And returns that Share this post Link to post
Attila Kovacs 629 Posted July 23, 2019 (edited) Do not read too much documentation. Just enter the plaintext l/p into the boxes. Edited July 23, 2019 by Attila Kovacs Share this post Link to post
azrael_11 0 Posted July 23, 2019 5 minutes ago, Attila Kovacs said: Do not read too much documentation. Just enter the plaintext l/p into the boxes. Sorry but i don't understand where to put the plaintext l/p? Share this post Link to post
Attila Kovacs 629 Posted July 23, 2019 on the second screenshot username: Joe password: 12345 Share this post Link to post
azrael_11 0 Posted July 23, 2019 3 minutes ago, Attila Kovacs said: on the second screenshot username: Joe password: 12345 I try that not working i also add in the content-type the application/json but nothing i get the same responce Share this post Link to post
azrael_11 0 Posted July 23, 2019 Try the Inline passing in the URL . I set the correct username and api key. In the browser everything works just fine it ask me if i want to see this content with the current username i press ok and json with response is here. In the rest debugger i do the same but it returns anauthorised. Any help please Share this post Link to post
Attila Kovacs 629 Posted July 23, 2019 try a decent API tester like https://www.soapui.org/ Share this post Link to post
azrael_11 0 Posted July 26, 2019 On 7/23/2019 at 1:27 PM, Attila Kovacs said: try a decent API tester like https://www.soapui.org/ Thank you i ll try this. Share this post Link to post