Post by shilpa_monde » Fri Aug 06, 2021 5:26 pm

Dear 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!

Thanks & Regards,
Shilpa
Noustek Labs


Newbie

Posts

Joined
Wed Aug 04, 2021 9:11 pm

Post by paulfeakins » Fri Aug 06, 2021 5:37 pm

Is this a Commercial Support request?

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by thekrotek » Fri Aug 06, 2021 6:13 pm

paulfeakins wrote:
Fri Aug 06, 2021 5:37 pm
Is this a Commercial Support request?
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


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by pedro1993 » Fri Aug 06, 2021 6:16 pm

Hi Shilpa.

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 pm
Dear 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


Active Member

Posts

Joined
Tue Oct 18, 2011 4:31 am
Location - Glasgow, Scotland

Post by Garry_j » Fri Aug 06, 2021 7:09 pm

Hello,
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

New member

Posts

Joined
Mon Mar 22, 2021 7:41 pm

Post by Trish Cis » Fri Aug 06, 2021 8:21 pm

Hi
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


New member

Posts

Joined
Wed Aug 19, 2020 7:10 pm

Post by paulfeakins » Mon Aug 09, 2021 5:48 pm

thekrotek wrote:
Fri Aug 06, 2021 6:13 pm
paulfeakins wrote:
Fri Aug 06, 2021 5:37 pm
Is this a Commercial Support request?
This is "I post my stuff whenever I want" request.
:laugh: :laugh: :laugh:

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by straightlight » Mon Aug 09, 2021 11:01 pm

Wherever request. At least, the topic has been moved.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: paulfeakins and 13 guests