4,493
edits
m (→TryAPL Mini) |
(→API) |
||
Line 53: | Line 53: | ||
<source lang=js> | <source lang=js> | ||
with(new XMLHttpRequest) { | with(new XMLHttpRequest) { | ||
open("POST", "tryapl.org/Exec"); | open("POST", "https://tryapl.org/Exec"); | ||
setRequestHeader("Content-Type", "application/json;charset=utf-8"); | setRequestHeader("Content-Type", "application/json;charset=utf-8"); | ||
send(JSON.stringify([0, 0, 0, prompt()])); | send(JSON.stringify([0, 0, 0, prompt()])); |