Initial commit: Oraset programming language with documentation

This commit is contained in:
JGZSunShineMod1.0.3
2026-04-24 21:54:58 +08:00
commit 2089d28529
131 changed files with 28968 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
// 测试网络请求功能
// 测试HTTP GET请求
response = http_get(`http://example.com`);
show(`HTTP GET response length: `, len(response));
show(`First 100 characters: `, substring(response, 0, 100));
// 测试HTTP POST请求
post_data = `{"name": "Oraset", "version": "1.0"}`;
post_response = http_post(`http://httpbin.org/post`, post_data);
show(`\nHTTP POST response: `, post_response);