print
print writes POST request bodies to stderr and returns 204 No Content. It is intended for debugging webhooks and callbacks.
yaml
server:
http:
middlewares:
debug_body:
print:
text: "\n--- end body ---"Behavior:
GETrequests continue to the next middleware.POSTbodies are printed to stderr and the chain stops with204.- Other methods return
405 Method Not Allowed.