kdietrich / homeeup

WARNING: this repo is not maintained anymore. Use virtual devices in homee. <3
13 stars 9 forks source link

Feature/Enhancement-Requests for the SimpleHTTPPlugin or Plugin-Variants #9

Open hblaschka opened 6 years ago

hblaschka commented 6 years ago

Kevin,

If fully implemented this would probably result in three new Plugin-Types

For the sake of clarity the SimpleHTTPPlugin should probably be renamed (aliased) to SimpleGetHTTPPlugin once this is implemented.

This could also be implemented in a way that the JSON-Payload would be optional for both Get/Post Operations, which means: Only two new Plugins might be needed (depending on how APIs react to JSON-encoded bodys without content).

I would really like to do a PR for all of these, but I am not a Dev.

Edit: OK, I understood that the SimpleCmdPlugin (via curl commands) could be used for JSON-Playloads, nevertheless that would be a cool addition.