MageSuite offers a solution to monitor calls to rest API. This allows verifying the request JSON payload and response from Magento.
In order to enable the logger, manage to STORES > CONFIGURATION > ADVANCED > SYSTEM.
Set Rest API logging is enabled to YES.
Also, choose HTTP requests method to log. Mostly GET, POST, PUT.
If you want to exclude some endpoints from logs, you can specify them in Rest endpoint to skip field (wildcard * is available).
Use the following fields for hiding sensitive data (like user passwords). Keep in mind, that placeholder needs to be specified per line.
- Payload placeholders
- Response placeholders
After enabling logs, navigate to SYSTEM > REST API LOGGER.
0 Comments