Skip to content

terentev-space/KitHook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KitHook

Latest Version Software License

🚧 Attention: the project is currently under development! 🚧

Install

Usage

Examples

Queue

methods: get, put, post, delete, head, options, patch, trace

types: http

{
  "method": "post",
  "uri": "https://example.com?key1=value1",
  "content": null,
  "properties": {
    "property1": "value1"
  },
  "headers": {
    "header1": "value1"
  },
  "id": "yourId-123",
  "type": "http"
}

Contents

types: none, form, text, json, byte, else

Content (Form)

{
  "data": {
    "key1": "value1",
    "key2": "value2"
  },
  "type": "form"
}

Content (Text)

{
  "data": "value1",
  "type": "text"
}

Content (Json)

{
  "data": {
    "Attr1": 1,
    "Attr2": "value2",
    "Attr3": [
      "value3_1",
      "value3_2"
    ]
  },
  "type": "json"
}

Content (Byte)

{
  "data": "AAECAwQF",
  "type": "byte"
}

Content (Else)

{
  "data": "<html>value</html>",
  "format": "text/html",
  "type": "else"
}

Credits

License

The Apache 2.0 License (Apache-2.0). Please see License File for more information.