hyTags
HomeHome Getting StartedGetting Started DocumentationDocumentation

request-new

Creates a new HTTP request with the specified URL and method.
Parameter
Type
Description
url
url
The URL to send the request to.
method
string
The HTTP method to use (e.g., GET, POST, PUT, DELETE). Defaults to GET if not specified.
return
request
A new request object configured with the specified URL and method.