From c92a5fb4fa01866f49c58989a2f01391e42337d3 Mon Sep 17 00:00:00 2001 From: Hans Pagel Date: Mon, 15 Jan 2024 16:24:49 +0100 Subject: [PATCH] chore: replace GET method with POST (#123) Signed-off-by: Hans Pagel --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1a37f7c..026aac2 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ import { Type } from '@sinclair/typebox' const fastify = Fastify().withTypeProvider() -fastify.get('/', { +fastify.post('/', { schema: { body: Type.Object({ x: Type.String(),