sirius-tedarik / sirutils

MIT License
0 stars 2 forks source link

Mixin feature for creating web server to wizard #19

Closed siaeyy closed 1 month ago

siaeyy commented 1 month ago

For handle http requests with microservice actions just set http settings in service creation:

{
  settings: {
    http: {
      "<endpoint>": ["GET", "<method>..."]
    }
  }
}

The endpoint should able to accept 2 parameters: Request and response object (node:http)

Basic Usage