File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -118,8 +118,8 @@ mkdir testapp/form
118118mkdir testapp/api
119119echo 'ExportForm[{"hello", UnixTime[]}, "JSON"]' > testapp/index.wl
120120echo 'FormFunction["x" -> "String"]' > testapp/form/index.wl
121- echo 'APIFunction["x" -> "String"]' > testapp/api/index.wl
122- echo 'HTTPResponse["hello world"]' > testapp/api/ response.wl
121+ echo 'APIFunction["x" -> "Number", #x! &]' > testapp/api/index.wl
122+ echo 'HTTPResponse["hello world"]' > testapp/response.wl
123123echo '["some", "static", "JSON"]' > testapp/static.json
124124```
125125
@@ -140,7 +140,8 @@ Then open the browser at the following locations:
140140```
141141http://localhost:18000/
142142http://localhost:18000/form
143- http://localhost:18000/api
143+ http://localhost:18000/api?x=4
144+ http://localhost:18000/response.wl
144145http://localhost:18000/static.json
145146```
146147
You can’t perform that action at this time.
0 commit comments