Hello,
I want to test the rasa rest channel and modify this to get the sender_id in the pipeline.
Step 0: Test Rest Channel First I want to know how it works. I look at this Your Own Website (rasa.com).
Then I started the server with rasa rasa run --enable-api. Then I started a new terminal and go to the workspace folder. Then I use the command: curl -XPOST localhost:5005/webhooks/rest/webhook -d ‘{“sender”:“Me”,“message”:“hi”}’
But I got this error:
⚠️ 400 — Bad Request html { font-family: sans-serif } h2 { color: #888; } .tb-wrapper p, dl, dd { margin: 0 } .frame-border { margin: 1rem } .frame-line > *, dt, dd { padding: 0.3rem 0.6rem } .frame-line, dl { margin-bottom: 0.3rem } .frame-code, dd { font-size: 16px; padding-left: 4ch } .tb-wrapper, dl { border: 1px solid #eee } .tb-header,.obj-header { background: #eee; padding: 0.3rem; font-weight: bold } .frame-descriptor, dt { background: #e2eafb; font-size: 14px }⚠️ 400 — Bad Request
Failed when parsing body as json
What did I do wrong?
credentials.yml:
And how can I get the information in the pipeline?