Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log XML requests and responses #448

Open
xps opened this issue Oct 7, 2022 · 1 comment
Open

Log XML requests and responses #448

xps opened this issue Oct 7, 2022 · 1 comment

Comments

@xps
Copy link

xps commented Oct 7, 2022

Hello,

Is there a way to log the XML requests (and responses) between the client and the Prestashop API?

Thanks

@sanctusmob
Copy link
Contributor

Hello,

Yes, you can log the XML requests and responses by serializing the request objects before sending them and deserializing the responses after receiving them. You can then save these serialized XML strings to a file or a database for logging purposes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants