Features
Explore
About
Docs
Pricing
Log in
Sign up
Log in
Sign Up
stevekrouse
/
evalPost2
0 Likes
Code
Comments
Pull Requests
Fork
1
References
evalPost2
Script
v1
Fork
1
2
3
4
5
6
7
8
9
10
11
import
{
fetchJSON
}
from
"https://esm.town/v/stevekrouse/fetchJSON"
;
console
.
log
(
await
fetchJSON
(
"https://api.val.town/v1/eval"
,
{
method
:
"POST"
,
body
:
JSON
.
stringify
(
{
code
:
"(a,b) => a+b"
,
args
:
[
1
,
2
]
}
)
,
}
,
)
,
)
;
0
Prev
1
Next
?