User Tools

Site Tools


dictionary:more:loadurl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
dictionary:more:loadurl [2018/07/28 17:17] – [Optional Parameters:] James Sentmandictionary:more:loadurl [2018/09/01 16:42] – [Optional Parameters:] James Sentman
Line 17: Line 17:
 **callback script** (text: the name of the global script to send the results to) If you leave this option out but include the handler name then the (thisScript) property will be used to try to call back into the same script that ran the loadURL command.\\ **callback script** (text: the name of the global script to send the results to) If you leave this option out but include the handler name then the (thisScript) property will be used to try to call back into the same script that ran the loadURL command.\\
 **callback handler** (text: the name of the handler in the global script handler to send the response, or error, to.)\\ **callback handler** (text: the name of the handler in the global script handler to send the response, or error, to.)\\
-**custom request** (text: a request type other than GET or POST) optional, if you need to send an HTTP request other than GET or PUT set the value here. There is currently no place to send custom PUT” data or such please let me know if you need this.\\+**custom request** (text: a request type other than GET or POST) optional, if you need to send an HTTP request other than GET or PUT set the value here. If you need to send custom PUT or POST data that isn’t form encoded use the **put data** parameter below.\\
 **follow redirects** (boolean: should the request be repeated if the server responds with a redirect) This defaults to true so by specifying “without follow redirects” you can stop it from trying to follow them.\\ **follow redirects** (boolean: should the request be repeated if the server responds with a redirect) This defaults to true so by specifying “without follow redirects” you can stop it from trying to follow them.\\
 **logging debug data** (boolean: logs all the communication and all the protocol negotiation data) Optional. Defaults to false, turn it on by adding “with logging debug data” to the command. Logs absolutely everything to the log. Good for debugging why something isn’t responding but not good to leave setup all the time.\\ **logging debug data** (boolean: logs all the communication and all the protocol negotiation data) Optional. Defaults to false, turn it on by adding “with logging debug data” to the command. Logs absolutely everything to the log. Good for debugging why something isn’t responding but not good to leave setup all the time.\\
-**put data** (text: optional) if included the post type will default to PUT and the block of data that you specify in this string will be sent to the server. If you change the request type via the custom request handler above then you can use this to send non-form encoded blocks of any data to the server. +**put data** (text: optional) if included the post type will default to PUT and the block of data that you specify in this string will be sent to the server. If you change the request type via the custom request handler above then you can use this to send non-form encoded blocks of any data to the server.\\ 
 +**extra headers** (list: optional) an applescript list of text items that will be added to the headers being sent.
 ===Callback Handler Info:=== ===Callback Handler Info:===
  
dictionary/more/loadurl.txt · Last modified: 2023/02/13 14:52 by 127.0.0.1