I am test Opencart API - http://docs.opencart.com/en-gb/system/users/api/. I want to test this on localhost in order to check whether it fits in my requirement or not. However, i am getting below response when I am trying to access API using Postmen. Can you please suggest the exact steps or guidance on this
<b>Notice</b>: Undefined index: api_id in <b>C:\xampp\htdocs\opencart\upload\catalog\controller\api\login.php</b> on line <b>21</b>{
"error": {
"ip": "Warning: Your IP ::1 is not allowed to access this API!",
"key": "Warning: Incorrect API Key!"
}
}
When I am commenting my Login page code where it is checking IP. it is working fine and generating token but it is not creating session in System-> Users-> API->Edit API->Session
Please suggest!
Thanks & Regards,
Shilpa
Noustek Labs
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
This is "I post my stuff whenever I want" request.
Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com
I had a similar issue on one of my OpenCart projects.
I’d be happy to help. Check you PM and send me an email I’ll be glad to assist.
Peter
shilpa_monde wrote: ↑Fri Aug 06, 2021 5:26 pmDear Folks,
I am test Opencart API - http://docs.opencart.com/en-gb/system/users/api/. I want to test this on localhost in order to check whether it fits in my requirement or not. However, i am getting below response when I am trying to access API using Postmen. Can you please suggest the exact steps or guidance on this
<b>Notice</b>: Undefined index: api_id in <b>C:\xampp\htdocs\opencart\upload\catalog\controller\api\login.php</b> on line <b>21</b>{
"error": {
"ip": "Warning: Your IP ::1 is not allowed to access this API!",
"key": "Warning: Incorrect API Key!"
}
}
When I am commenting my Login page code where it is checking IP. it is working fine and generating token but it is not creating session in System-> Users-> API->Edit API->Session
Please suggest!
For OpenCart & PHP/MySQL support feel free to PM me
Click here for my extentions
Did I help you? Donate here to show support
I would be glad to assist you.
To discuss further in detail kindly reach me at garry@cisinlabs.com or Skype me: cis.garry
Looking forward for your response.
Thanks
Garry
Greetings!
I have gone thru your post & I would be happy to assist you.
I need some information to share my understanding with you. Rates are very competitive so it won’t be any issue for you
Please add me on Skype so we can discuss further.
Warm Regards,
Trish
Professional Open cart Developer
Email - trish.c@talentsfromindia.com
Skype :- live:.cid.baff7c7dd9471b54
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Users browsing this forum: Majestic-12 [Bot], paulfeakins and 11 guests