evalPost1
Script
v2
Fork
1
2
3
4
5
6
7
8
9
import
{
fetchJSON
}
from
"https://esm.town/v/stevekrouse/fetchJSON"
;
export
let
evalPost1
=
fetchJSON
(
"https://api.val.town/v1/eval"
,
{
method
:
"POST"
,
body
:
JSON
.
stringify
(
{
code
:
"1+1"
}
)
,
}
,
)
;