From 4fd1e81dd4cd4260b7f6c6f773946be6fac8fe23 Mon Sep 17 00:00:00 2001 From: Simon-Pierre Gingras <892367+spg@users.noreply.github.com> Date: Fri, 23 Dec 2022 15:00:34 -0500 Subject: [PATCH] fix(client): better instructions (#556) --- packages/client/README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/client/README.md b/packages/client/README.md index de8fec499..83ef5fc3f 100644 --- a/packages/client/README.md +++ b/packages/client/README.md @@ -17,6 +17,9 @@ pnpm add @botpress/messaging-client Initialize the client and respond to messages ```ts +// ensure your Express app has the json middleware +app.use(express.json()) + // initialize client with your credentials const client = new MessagingClient({ clientId: 'my-client-id',