Skip to content

Glossary: Building APIs with Node.js

reply / request (Fastify)

Also written: request, reply, reply.code, reply.send, reply.header

The two objects a handler receives. `request` holds what the client sent, and `reply` controls the response, with `code()`, `header()` and `send()`.

Where the book teaches it

Related terms

Handler