Console
hyTags
Home
Home
Documentation
Documentation
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>
<div></div>
<request-new url="https://example.com">
<request-new url="https://example.com">
👆 Try to change something!
Live preview
Run
Array
Assert
Attribute
Bool
Class
Closure
Cookie
Data
Date
DateTime
Debug
Element
Error
Event
Form
Fragment
Function
If
Input
Items
Javascript
Loop
Number
Object
Page
Property
Rect
Request
Response
Selection
Storage
String
Style
Time
Url
Value
Var
Window
Quick Reference
Test succeeded
Test failed