diff options
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -61,7 +61,7 @@ end)) | |||
61 | do | 61 | do |
62 | http.get("ajaxtest", function(data) | 62 | http.get("ajaxtest", function(data) |
63 | body[".result"]:html(data) | 63 | body[".result"]:html(data) |
64 | return http.get("ajaxprocess", data, function(processed) | 64 | return http.post("ajaxprocess", data, function(processed) |
65 | body[".result"]:append(processed) | 65 | body[".result"]:append(processed) |
66 | return print("done") | 66 | return print("done") |
67 | end) | 67 | end) |