AbanteCart Community

AbanteCart Development => API Development => Topic started by: shahiran12395 on March 19, 2019, 01:19:02 AM

Title: login api
Post by: shahiran12395 on March 19, 2019, 01:19:02 AM
i have issue to login with abantecart api where it keeps showing forbidden message. i have include the result in my attachment and im using postman to test the login api
Title: Re: login api
Post by: Basara on March 19, 2019, 02:32:38 AM
Just FYI some common examples can be found here https://github.com/abantecart/testing_tools
Title: Re: login api
Post by: shahiran12395 on March 19, 2019, 02:38:08 AM
i just follow the url that has stated in the manual.     :D
Title: Re: login api
Post by: dvagner on March 19, 2019, 04:16:29 AM
i have issue to login with abantecart api where it keeps showing forbidden message. i have include the result in my attachment and im using postman to test the login api

query parameters are not correct. Replace the comma with &, and better fill in the key value parameters.
You should also make sure that access to api is enabled in the site settings and there is no ban on the server side.
Answer from api in json format
Title: Re: login api
Post by: dvagner on March 19, 2019, 04:21:29 AM
You also need to make sure that the postman has access to localhost.