Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Api Page Not Found... Rate Topic   - - - - -

 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 10,140 posts

Posted 08 January 2018 - 10:48 PM #1

Went to implement a new entity for an addon but finding during testing that the api is always returning page not found.

I.e. doing:

curl --user [MY ADMIN USER EMAIL]:[MY API KEY] -X GET https://[SITE].com/api/products/12

always generates a 404 page not found page.  But doing

url --user [MY ADMIN USER EMAIL]:[MY API KEY] -X GET https://[SITE].com

will return the homepage of the site but anything with /api will return page not found.

 

Assuming this is something simple in config but not sure what and would appreciate any pointers.

 

And yes, the user is enabled for API and I cut/pasted the API key.


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.