HTTP Request Sender - to replace CURL

Xeoma Software

Moderators: Admin_N, Administrator, Admin_P, Admin_K

HTTP Request Sender - to replace CURL

Postby Matt77 » Fri Jan 01, 2021 1:37 am

HI,

i'm testing right now Xeoma and so far i like the Application and the available modules.
My plan is to use it for an initial setup of about 8 cameras where i need to switch items in my HomeAtomation setup.

right now i use this command:

curl -X PUT --header "Content-Type: text/plain" --header "Accept: application/json" -d "OFF" "http://192.168.1.150:8080/rest/items/S_LR_Spots_S/state"

would it be possible to integrate it with the "HTTP Request Sender@ module? or any other one?
if so How?

thanks a lot in advance for any help

regards
Matt
Matt77
 
Posts: 2
Joined: Fri Jan 01, 2021 1:29 am

Re: HTTP Request Sender - to replace CURL

Postby Admin_P » Tue Feb 02, 2021 8:42 am

Hello!
Currently "HTTP Request Sender" works only with GET requests, so a PUT request won't work with it. However, we intend to expand its functionality to allow for more request types.
For now you can use "Application Runner" to run curl with the required parameters to automate this process.
Admin_P
 
Posts: 245
Joined: Wed Aug 24, 2016 1:49 pm


Return to Xeoma - General discussion

Who is online

Users browsing this forum: No registered users and 17 guests

cron