mirror of
https://github.com/lune-org/lune.git
synced 2024-12-12 13:00:37 +00:00
10 lines
450 B
Lua
10 lines
450 B
Lua
|
local util = require("src/tests/net/request/util")
|
||
|
local pass = util.pass
|
||
|
|
||
|
-- stylua: ignore start
|
||
|
pass("GET", "https://httpbin.org/get", "Request method - GET")
|
||
|
pass("POST", "https://httpbin.org/post", "Request method - POST")
|
||
|
pass("PATCH", "https://httpbin.org/patch", "Request method - PATCH")
|
||
|
pass("PUT", "https://httpbin.org/put", "Request method - PUT")
|
||
|
pass("DELETE", "https://httpbin.org/delete", "Request method - DELETE")
|