Back to Templates
Log Request & Response
Capture the full request and response to send to your log provider.
Categories:
ProgrammabilityLogging
Log Request & Response#
This sample shows how to add logging for every request that captures the full request and response in order to send to your log provider.
This example uses the OnResponseSendingFinal hook in the zuplo.runtime.ts
file to register a global log event.
Discover More Examples
API Linting
See how to use API linting to enforce api consistency and require Zuplo features like policies.
API Governance
Backend for Frontend (BFF) Auth
Optimize UX and security in web applications with this approach.
Authentication
Custom Rate Limiting
Invoke the Rate Limit policy programatically and then modify the 429 response.
Programmability
Custom Modules
How to bundle custom node modules to use in your Zuplo project.
Programmability