<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: sending http from shell script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-http-from-shell-script/m-p/2477264#M17736</link>
    <description>Hi Richard,&lt;BR /&gt;&lt;BR /&gt;As HTTP is plain ASCII text, you may use any 'echo' or 'print' statement to create an HTTP request or even a full HTML page.&lt;BR /&gt;To simplify coding, you may also use the 'here-document' mechanism like in&lt;BR /&gt;print &amp;lt;&amp;lt; EOF&lt;BR /&gt;...&lt;BR /&gt;Your HTML code here&lt;BR /&gt;...&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;Type 'man sh-posix' and search for '&amp;lt;&amp;lt;' for details about the 'here-document'&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Dan&lt;BR /&gt;</description>
    <pubDate>Fri, 29 Dec 2000 06:21:33 GMT</pubDate>
    <dc:creator>Dan Hetzel</dc:creator>
    <dc:date>2000-12-29T06:21:33Z</dc:date>
    <item>
      <title>sending http from shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-http-from-shell-script/m-p/2477262#M17734</link>
      <description>Anyone know how to send an http request from a shell script?&lt;BR /&gt;&lt;BR /&gt;Richard</description>
      <pubDate>Thu, 28 Dec 2000 22:06:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-http-from-shell-script/m-p/2477262#M17734</guid>
      <dc:creator>Richard Mertz</dc:creator>
      <dc:date>2000-12-28T22:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: sending http from shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-http-from-shell-script/m-p/2477263#M17735</link>
      <description>Richard:&lt;BR /&gt;&lt;BR /&gt;See if this meets your needs:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.shelldorado.de/scripts/cmds/urlencode.txt" target="_blank"&gt;http://www.shelldorado.de/scripts/cmds/urlencode.txt&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 29 Dec 2000 01:05:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-http-from-shell-script/m-p/2477263#M17735</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2000-12-29T01:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: sending http from shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-http-from-shell-script/m-p/2477264#M17736</link>
      <description>Hi Richard,&lt;BR /&gt;&lt;BR /&gt;As HTTP is plain ASCII text, you may use any 'echo' or 'print' statement to create an HTTP request or even a full HTML page.&lt;BR /&gt;To simplify coding, you may also use the 'here-document' mechanism like in&lt;BR /&gt;print &amp;lt;&amp;lt; EOF&lt;BR /&gt;...&lt;BR /&gt;Your HTML code here&lt;BR /&gt;...&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;Type 'man sh-posix' and search for '&amp;lt;&amp;lt;' for details about the 'here-document'&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Dan&lt;BR /&gt;</description>
      <pubDate>Fri, 29 Dec 2000 06:21:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-http-from-shell-script/m-p/2477264#M17736</guid>
      <dc:creator>Dan Hetzel</dc:creator>
      <dc:date>2000-12-29T06:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: sending http from shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-http-from-shell-script/m-p/2477265#M17737</link>
      <description>If you want to get a http page from the internet you could use wget to send a http request.&lt;BR /&gt;&lt;BR /&gt;Look at:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Gnu/wget-1.5.3/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Gnu/wget-1.5.3/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 29 Dec 2000 08:02:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-http-from-shell-script/m-p/2477265#M17737</guid>
      <dc:creator>Rainer_1</dc:creator>
      <dc:date>2000-12-29T08:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: sending http from shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-http-from-shell-script/m-p/2477266#M17738</link>
      <description>OK, I should have been more specific.  I am running a package that indexes our web site for searching.  This works great for us for having the box index itself (it's in the DMZ).  I would like to automagically produce an internal index that includes the web site in the DMZ.  Because we are running websense (requires firewall login to get outside) I must somehow automatically log in to the firewall prior to running the indexing program.  Websense generates a login screen after the first http request.  So...I would like to send a bogus http request, followed by a login string.  So, the first question I have is how do I echo something to the http port (80 in this case).&lt;BR /&gt;&lt;BR /&gt;Richard</description>
      <pubDate>Fri, 29 Dec 2000 13:50:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-http-from-shell-script/m-p/2477266#M17738</guid>
      <dc:creator>Richard Mertz</dc:creator>
      <dc:date>2000-12-29T13:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: sending http from shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-http-from-shell-script/m-p/2477267#M17739</link>
      <description>You need to use telnet for this.&lt;BR /&gt;&lt;BR /&gt;telnet hostname 80 &amp;lt; /tmp/input.script&lt;BR /&gt;&lt;BR /&gt;where /tmp/input.script contains something like&lt;BR /&gt;&lt;BR /&gt;GET / HTTP/1.0&lt;BR /&gt;&lt;BR /&gt;followed by a blank line.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 29 Dec 2000 15:37:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-http-from-shell-script/m-p/2477267#M17739</guid>
      <dc:creator>Dave Kelly_1</dc:creator>
      <dc:date>2000-12-29T15:37:47Z</dc:date>
    </item>
  </channel>
</rss>

