besil / kobot

A configurable conversation bot framework, written in Kotlin
Apache License 2.0
16 stars 0 forks source link

HTTP type #3

Closed besil closed 4 years ago

besil commented 4 years ago

A new state type should be declared in order to read and write from a http provided url. Data must be stored in a session field.
Something like:

{
“id”: “read”,
“type”: “http”,
“options”: {
  “method”: “get”,
  “url”: “https://.....”,
  “result-key”: “key.subkey”
},
“session-field”: “http-values”
}