Jump to content

How to debug Webservice API?


Recommended Posts

i activated debug mode and I send submit order request and create cart request but i can't get Webservice API request information in the Symfony Profiler, only to find back end request such as /administration/index.php/configure/advanced/performance instead.

I am not the merchant but i have to send request to merchant's REST api to get information or submit order.

i have to solve internal server error 500 problem when i send submit order request to REST api.So i will be very thankful if you can tell me more details about where to check error logs. thank you in advance

Link to comment
Share on other sites

  On 6/25/2024 at 11:47 AM, Prestashop Addict said:

You can see vhost apache error log

Expand  

thanks for the reply! but i just checked the log, didn't find any information about WebService API.....i found some logs are with prefix "lsapi:error", idk if it's the thing that i need, but the "referer" is not the WebService URL, it's backoffice Url instead, for example: "https://xxxx.com/admin/index.php/sell/catalog/products". but what I need is WebService api such as "/api/orders"😞

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...