HomeGenie Forum

Automation Program Plugins and Wizard Scripting => Help => Topic started by: kobi.beja on January 29, 2015, 09:43:27 AM

Title: HOW TO SEND HTTP POST method?
Post by: kobi.beja on January 29, 2015, 09:43:27 AM
Hi
I wondering how to send HTTP POST via C# at HG.
I have snap shot from wireshark with all the information if somone can help.

Address:http://192.168.1.147/action.cgi
Data: action=tog&output=1

Thanks
Kobi

Title: Re: HOW TO SEND HTTP POST method?
Post by: maxflax on January 29, 2015, 05:46:37 PM
Do POST with the NetHelper.

http://www.homegenie.it/docs/doxy/d1/d60/class_home_genie_1_1_automation_1_1_scripting_1_1_net_helper.html#a8578bbf9b5ea868430a1273d7f1c5f02 (http://www.homegenie.it/docs/doxy/d1/d60/class_home_genie_1_1_automation_1_1_scripting_1_1_net_helper.html#a8578bbf9b5ea868430a1273d7f1c5f02)
Title: Re: HOW TO SEND HTTP POST method?
Post by: kobi.beja on January 29, 2015, 06:28:26 PM
Hi ,
Thanks for your response,
I'm not very strong in programing I'm beginner :-\
Can you help with example please?
Kobi