X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Modules and themes (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=64)
-   -   Can't get API results to show up in my code (https://forum.x-cart.com/showthread.php?t=77839)

atclarkson 06-03-2020 04:18 AM

Can't get API results to show up in my code
I'm sure this will come down to some misunderstanding on my part.

I can make an API call to my store and get the results to show up in my browser window and in Postman. But when I try to make the call using some C++ code I wrote I get an HTTP response code of 200 but I don't get the JSON as I expected to.

When testing my code with a placeholder API like https://jsonplaceholder.typicode.com/posts
It works just fine.

Am I missing something obvious? Is the xCart API different somehow?

If anyone has more experience than me and could help me out I would be greatly appreciative.

All times are GMT -8. The time now is 08:44 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.