Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
fahreddinozcan committed Nov 7, 2024
1 parent c8ab52d commit e2c8f4d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion examples/express/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ npm run dev

5. Send a `POST` request to the `/workflow` endpoint.

**NOTE**: Workflow on Express.js only works with `Content-Type: application/json` header.

```bash
curl -X POST "http://localhost:3001/workflow" -d '{"message": "hello world!"}'
curl -X POST http://localhost:3001/workflow \
-H "Content-Type: application/json" \
-d '{"message": "Hello from the workflow!"}'
```

0 comments on commit e2c8f4d

Please sign in to comment.