An open API service indexing awesome lists of open source software.

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

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

....