switch to new api in tests
This commit is contained in:
parent
6d6bbe0840
commit
ac5f372793
11
live.hurl
11
live.hurl
|
@ -1,11 +0,0 @@
|
|||
POST https://hare-exec.fly.dev/v1/exec
|
||||
content-type: application/json
|
||||
```
|
||||
{
|
||||
"sandbox": "hare",
|
||||
"command": "run",
|
||||
"files": {
|
||||
"": "use fmt;\nexport fn main() void = {\nfmt::println(\"hello world\")!;\n};\n"
|
||||
}
|
||||
}
|
||||
```
|
|
@ -8,11 +8,7 @@ POST http://localhost:8080/v1/exec
|
|||
content-type: application/json
|
||||
```
|
||||
{
|
||||
"sandbox": "hare",
|
||||
"command": "run",
|
||||
"files": {
|
||||
"": "use fmt;\nexport fn main() void = {\nfmt::println(\"hello world\")!;\n};\n"
|
||||
}
|
||||
"code": "use fmt;\nexport fn main() void = {\nfmt::println(\"hello world\")!;\n};\n"
|
||||
}
|
||||
```
|
||||
HTTP 200
|
||||
|
@ -26,11 +22,7 @@ POST http://localhost:8080/v1/exec
|
|||
content-type: application/json
|
||||
```
|
||||
{
|
||||
"sandbox": "hare",
|
||||
"command": "run",
|
||||
"files": {
|
||||
"": "use fmt;\nexport fn main()\n"
|
||||
}
|
||||
"code": "use fmt;\nexport fn main()\n"
|
||||
}
|
||||
```
|
||||
HTTP 200
|
||||
|
|
Loading…
Reference in a new issue