HttpPutString command: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Created page with "__TOC__ {| |width="50%"| '''Action:''' |width="50%"| <span class="f_Para">Attempts an HTTP PUT upload using the string and the URL you specify. </span> <span class="f_Para">...")
 
No edit summary
Line 6: Line 6:
<span class="f_Para">Attempts an HTTP PUT upload using the string and the URL you specify. </span>
<span class="f_Para">Attempts an HTTP PUT upload using the string and the URL you specify. </span>


<span class="f_Para">Useful for testing the </span><span class="f_ListContinue">[[configure_test_browser.html#pacfile|Proxy Auto Config (PAC) file]]</span><span class="f_Para"> feature and as needed.</span>
<span class="f_Para">Useful for testing the </span><span class="f_ListContinue">[[Configure web browser (Janus Debugger only)#Client steps to invoke the automatic creation and maintenance of a PAC file|Proxy Auto Config (PAC) file]]</span><span class="f_Para"> feature and as needed.</span>


'''Syntax:'''
'''Syntax:'''
Line 13: Line 13:
<span class="f_Para">For example, the following command stores a quoted literal string in a file in a Janus Web Server configured to use the file name </span><span class="f_Monospace">MYSTRING.JS</span><span class="f_Para">: </span>
<span class="f_Para">For example, the following command stores a quoted literal string in a file in a Janus Web Server configured to use the file name </span><span class="f_Monospace">MYSTRING.JS</span><span class="f_Para">: </span>


<span class="f_CodeExampleTable">httpPut</span><span class="f_CodeExample">String</span><span class="f_CodeExampleTable"> 'debuggerInternalPac.js'</span><br />
<p class="syntax"><span class="f_CodeExampleTable">httpPut</span><span class="f_CodeExample">String</span><span class="f_CodeExampleTable"> 'debuggerInternalPac.js'</span><br />
<span class="f_CodeExampleTable">http://sirius.sirius-software.com:9292/pacman/MYSTRING.JS</span>
<span class="f_CodeExampleTable">http://sirius.sirius-software.com:9292/pacman/MYSTRING.JS</span></p>


<span class="f_Para">The Client </span><span class="f_ListNum1">[[glance_at_status_area.html|Status bar]]</span><span class="f_Para"> reports on the result of the command, with for example, a message like:</span>
<span class="f_Para">The Client </span><span class="f_ListNum1">[[Status bar|Status bar]]</span><span class="f_Para"> reports on the result of the command, with for example, a message like:</span>


<p class="syntax">HTTP PUT string upload completed. </p>
<p class="syntax">HTTP PUT string upload completed. </p>


<span class="f_Para">See also </span><span class="f_Monospace">[[HttpPutFile command|httpPutFile]]</span><span class="f_Para">, </span><span class="f_Monospace">[[HttpGet command|httpGet]]</span><span class="f_Para">, </span><span class="f_Monospace">[[RetryHttpPac command|retryHttpPac]]</span><span class="f_Para">, and </span><span class="f_Monospace">[[currentpacfile_function.html|&amp;&amp;currentPacFile]]</span><span class="f_Para">. </span>
<span class="f_Para">See also </span><span class="f_Monospace">[[HttpPutFile command|httpPutFile]]</span><span class="f_Para">, </span><span class="f_Monospace">[[HttpGet command|httpGet]]</span><span class="f_Para">, </span><span class="f_Monospace">[[RetryHttpPac command|retryHttpPac]]</span><span class="f_Para">, and </span><span class="f_Monospace">[[&&currentPacFile|&amp;&amp;currentPacFile]]</span><span class="f_Para">. </span>
|-
|-
| '''Client menu:'''
| '''Client menu:'''

Revision as of 03:19, 1 December 2022

Action:

Attempts an HTTP PUT upload using the string and the URL you specify.

Useful for testing the Proxy Auto Config (PAC) file feature and as needed.

Syntax:

httpPutString string url

For example, the following command stores a quoted literal string in a file in a Janus Web Server configured to use the file name MYSTRING.JS:

httpPutString 'debuggerInternalPac.js'
http://sirius.sirius-software.com:9292/pacman/MYSTRING.JS

The Client Status bar reports on the result of the command, with for example, a message like:

HTTP PUT string upload completed. 

See also httpPutFile, httpGet, retryHttpPac, and &&currentPacFile.

Client menu: --
Introduced: Build 63