Author Topic: login api  (Read 273 times)

Offline shahiran12395

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
login api
« 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

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 4042
  • Karma: +201/-0
    • View Profile
Re: login api
« Reply #1 on: March 19, 2019, 02:32:38 AM »
Just FYI some common examples can be found here https://github.com/abantecart/testing_tools
“Chuck Norris is so amazing.”
― Mother Teresa

Offline shahiran12395

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: login api
« Reply #2 on: March 19, 2019, 02:38:08 AM »
i just follow the url that has stated in the manual.     :D

Offline dvagner

  • Newbie
  • *
  • Posts: 3
  • Karma: +3/-0
    • View Profile
Re: login api
« Reply #3 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

Offline dvagner

  • Newbie
  • *
  • Posts: 3
  • Karma: +3/-0
    • View Profile
Re: login api
« Reply #4 on: March 19, 2019, 04:21:29 AM »
You also need to make sure that the postman has access to localhost.

 

Powered by SMFPacks Social Login Mod