hyTags
HomeHome 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.
Test Case:Create new request
    <div></div>
    
    <request-new url="https://example.com">
    
    👆 Try to change something!
  • Test succeeded Test failed