mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 12:07:19 +00:00
Update code comment for $tw.utils.http
This commit is contained in:
parent
03602215c4
commit
7a6213dcbf
@ -15,6 +15,7 @@ Browser HTTP support
|
|||||||
/*
|
/*
|
||||||
A quick and dirty HTTP function; to be refactored later. Options are:
|
A quick and dirty HTTP function; to be refactored later. Options are:
|
||||||
url: URL to retrieve
|
url: URL to retrieve
|
||||||
|
headers: hashmap of headers to send
|
||||||
type: GET, PUT, POST etc
|
type: GET, PUT, POST etc
|
||||||
callback: function invoked with (err,data)
|
callback: function invoked with (err,data)
|
||||||
returnProp: string name of the property to return as first argument of callback
|
returnProp: string name of the property to return as first argument of callback
|
||||||
|
Loading…
Reference in New Issue
Block a user