Closed setzamora closed 6 years ago
It looks like that the recent version doesn't support registering resources and specifying the allowed HTTP method for each.
For example:
POST /run/command - to execute GET /run/command - to get the status
Added ability restrict method by prefix:, example: shell2http -form GET:/date 'date' POST:/form 'cat'
prefix:
shell2http -form GET:/date 'date' POST:/form 'cat'
It looks like that the recent version doesn't support registering resources and specifying the allowed HTTP method for each.
For example:
POST /run/command - to execute GET /run/command - to get the status