-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Currently GetJSON expects the first argument to be an HTTP method ('GET', 'POST', etc) and the second argument to be a URL. This extension would allow for an implied 'GET' if GetJSON is passed a single string. The following logic is used:
If the argument is a single string, since a URL has to have some non-alphabetic characters (e.g. '.' in the domain name):
- If the string is empty or consists only of alphabetic characters, issue a "No URL supplied" error
- Otherwise attempt to retrieve the resource using the HTTP GET method.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request