# send instruction to cgi from a function

**URL:** <https://forums.digi.com/t/send-instruction-to-cgi-from-a-function/8982>\
**Category:** Rabbit\
**Created:** [June 19, 2009, 10:56am UTC](https://forums.digi.com/t/send-instruction-to-cgi-from-a-function/8982 "2009-06-19T10:56:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![julesdeloire](https://avatars.discourse-cdn.com/v4/letter/j/aca169/32.png) [@julesdeloire](https://forums.digi.com/u/julesdeloire)\
**Post date:** [June 19, 2009, 10:56am UTC](https://forums.digi.com/t/send-instruction-to-cgi-from-a-function/8982/1 "2009-06-19T10:56:18Z")

</div>

hi

please help me !!

i wan display the state of a led on the web pages and changing it on a switch click on protoboard

it the same like toogleswitch on samples but adding a switch control and displaying changes on html

the main probleme is with the httpstate !!
