nathanr

nathanr

  • NA
  • 10
  • 0

POST to a Cisco IP phone

Apr 2 2004 11:47 AM
Hi, I am trying to make a C# web application wich will POST an xml message to a Cisco IP phone. If I create a webpage with a text editor with the following code, it works when I open it in my browser.  
  1. <form action="http://10.5.1.168/CGI/Execute" method="POST">  
  2.     <textarea name="XML" rows="20" cols="80">  
  3.         <CiscoIPPhoneExecute>  
  4.             <ExecuteItem Priority="0" URL="http://10.1.1.15/ciscoipservices/clock/clock.asp" />;  
  5.         </CiscoIPPhoneExecute>  
  6.     </textarea>  
  7.     <br />  
  8.     <input type="submit" value="POST" />  
  9. </form>  
  
Does anyone know how I can put this into C# code and send it with a webform button? Im new to C# but im sure this could be done somehow. Thanks in advance.
 

Answers (2)