https://github.com/horacehylee/rasa_core_custom_server_io
Rasa Core server with custom endpoints
https://github.com/horacehylee/rasa_core_custom_server_io
Last synced: over 1 year ago
JSON representation
Rasa Core server with custom endpoints
- Host: GitHub
- URL: https://github.com/horacehylee/rasa_core_custom_server_io
- Owner: horacehylee
- License: mit
- Created: 2018-06-24T02:28:28.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-02-15T21:45:28.000Z (over 3 years ago)
- Last Synced: 2025-01-24T08:43:43.696Z (over 1 year ago)
- Language: Python
- Size: 85.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Usage
Requirements:
- http-echo-server (npm install -g http-echo-server npx)
```
set PORT=8124 && npx http-echo-server
```
```
make run-server
```
It will use local action but connect to other service using HTTP
---
## Input
Url: `http://localhost:3000`
#### GET /
##### Response
```json
{
"status": "ok"
}
```
#### POST /webhook
##### Request
```json
{
"sender": "123",
"message": "Hello"
}
```
##### Response
It will also call HTTP output to deliver response
```json
{
"status": "success"
}
```
## Output
Url: `http://localhost:8124`
#### Request
```json
{
"message": "Hey what can I help you?"
}
```
#### Response
....