Changes for page 2 Script

Last modified by Devin Chen on 2026/03/10 10:53

From version 20.1
edited by Devin Chen
on 2026/03/05 16:07
Change comment: There is no comment for this version
To version 21.1
edited by Devin Chen
on 2026/03/10 10:53
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -2123,7 +2123,7 @@
2123 2123   url = current_url,
2124 2124   method = "POST",
2125 2125   headers = {
2126 - ["Content-Type"] = "application/json", -- Must be text/plain to bypass CORS preflight
2126 + ["Content-Type"] = "application/json",
2127 2127   ["Content-Length"] = #request_body
2128 2128   },
2129 2129   source = ltn12.source.string(request_body),