Author Topic: login api  (Read 6043 times)

Offline shahiran12395

  • Jr. Member
  • **
  • Posts: 50
  • Karma: +3/-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: 5774
  • Karma: +274/-2
    • 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

Offline shahiran12395

  • Jr. Member
  • **
  • Posts: 50
  • Karma: +3/-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

  • Core/UI Developer
  • Jr. Member
  • **
  • Posts: 73
  • Karma: +28/-1
    • 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

  • Core/UI Developer
  • Jr. Member
  • **
  • Posts: 73
  • Karma: +28/-1
    • 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