1
0
Fork 0
forked from fun/fun

All incomplete examples have been updated and some corrections have been made to the parser to make them work. (0.37.17)

This commit is contained in:
Johannes Findeisen 2025-12-23 20:49:07 +01:00
commit 92aacff71a
41 changed files with 654 additions and 130 deletions

View file

@ -30,3 +30,30 @@ if obj != nil
if obj != nil
print("Origin: " + to_string(obj["origin"]))
/* Possible output:
Response: {
"args": {},
"data": "",
"files": {},
"form": {
"lang": "fun",
"name": "Fun"
},
"headers": {
"Accept": "*/*",
"Content-Length": "17",
"Content-Type": "application/x-www-form-urlencoded",
"Host": "httpbin.org",
"X-Amzn-Trace-Id": "Root=1-6944834b-74f499e251c322713e7dd9a8"
},
"json": null,
"origin": "5.252.226.107",
"url": "https://httpbin.org/post"
}
Content-Type: application/x-www-form-urlencoded
Host: httpbin.org
Origin: 5.252.226.107
*/