<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Help using Https from TCL scripts on a router 881-w</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=6326627" />
  <subtitle>Help using Https from TCL scripts on a router 881-w</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=6326627</id>
  <updated>2013-05-22T16:11:42Z</updated>
  <dc:date>2013-05-22T16:11:42Z</dc:date>
  <entry>
    <title>RE: Help using Https from TCL scripts on a router 881-w</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6339000" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6339000</id>
    <updated>2012-08-23T18:11:14Z</updated>
    <published>2012-08-23T18:11:14Z</published>
    <summary type="html">I am sorry to say that this forum may not be able to help you much because API here is not really for your application.
You can try Cisco TAC forum 
https://supportforums.cisco.com/index.jspa

Thanks !</summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2012-08-23T18:11:14Z</dc:date>
  </entry>
  <entry>
    <title>RE: Help using Https from TCL scripts on a router 881-w</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6338779" />
    <author>
      <name>Mark Wright</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6338779</id>
    <updated>2012-08-23T17:17:49Z</updated>
    <published>2012-08-23T17:17:49Z</published>
    <summary type="html">Yaw-Ming, I am using TCL to configure a cisco 881-W router. Do you know what forum would be the correct one for TCL help on routers?
or do you know where I could get the source for httpios.tcl? 
On the router I have I don't have this package.

Thanks
Mark Wright</summary>
    <dc:creator>Mark Wright</dc:creator>
    <dc:date>2012-08-23T17:17:49Z</dc:date>
  </entry>
  <entry>
    <title>RE: Help using Https from TCL scripts on a router 881-w</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6336660" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6336660</id>
    <updated>2012-08-22T21:52:39Z</updated>
    <published>2012-08-22T21:52:39Z</published>
    <summary type="html">Tcl API discussed in this forum is for IVR and voice application, what is your application ?

In here we need to use httpios::geturl  not http::geturl
example:
set token1 [::httpios::geturl $url -query [::httpios::formatQuery testnum $number] -command act_http_callback1]

Whether works for https or not, never try, so really don't know.

Thanks !</summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2012-08-22T21:52:39Z</dc:date>
  </entry>
  <entry>
    <title>Help using Https from TCL scripts on a router 881-w</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6326626" />
    <author>
      <name>Mark Wright</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6326626</id>
    <updated>2012-09-05T07:15:56Z</updated>
    <published>2012-08-22T18:05:54Z</published>
    <summary type="html">I have been able to get https to work from IOS command using copy or more. I have also able to get http gets and posts to work form TCL scripts. 
But what I need to get to work from TCL is Secure HTTP (https). I am using a 881-W Router. 
 
The http.tcl file on the router history shows that SSL suport added.

# Rough version history:
# 1.0 Old http_get interface
# 2.0 http:: namespace and http::geturl
# 2.1 Added callbacks to handle arriving data, and timeouts
# 2.2 Added ability to fetch into a channel
# 2.3 Added SSL support, and ability to post from a channel
# This version also cleans up error cases and eliminates the
# "ioerror" status in favor of raising an error
# 2.4 Added -binary option to http::geturl and charset element
# to the state array.


Does anyone have been able to get this to work?
If so do you have an example TCL script using https?


Thanks 
Mark Wright</summary>
    <dc:creator>Mark Wright</dc:creator>
    <dc:date>2012-08-22T18:05:54Z</dc:date>
  </entry>
</feed>

