HTTPRequest
Implémentée par le moteur, non permise sur Qurak
Builds a symbolic HTTP request object (no network access is performed
HTTPRequest[url]
HTTPRequest[assoc]
HTTPRequest[url, assoc]
HTTPRequest["https://example.com"]
→ HTTPRequest[https://example.com, <||>]HTTPRequest["https://example.com"]["Method"]
→ GETHTTPRequest["https://www.example.com:8080/api?a=1"]["Port"]
→ 8080HTTPRequest["https://example.com", <|"Method" -> "POST"|>]["Method"]
→ POSTreq = HTTPRequest["https://www.wikipedia.org/"]; req[{"Scheme", "Domain", Method}]
→ <|Scheme -> https, Domain -> www.wikipedia.org, Method -> GET|>HTTPRequest["https://a.io/a/b.html?q=1"][{"Path", "PathString", "QueryString", "AbsoluteDomain"}]
→ <|Path -> {, a, b.html}, PathString -> /a/b.html, QueryString -> q=1, AbsoluteDomain -> https://a.io|>- CharacterEncoding — default Automatic
- CookieFunction — default Automatic
- FollowRedirects — default True
- Interactive — default True
- TimeConstraint — default Infinity
- VerifySecurityCertificates — default True
Les 6300 fonctions ·
Utiliser ceci depuis un client MCP