mirror of
https://github.com/imputnet/cobalt.git
synced 2024-12-29 11:06:10 +00:00
ci/test.sh: update api endpoint
This commit is contained in:
parent
3bd1a00855
commit
edbea16b91
4
.github/test.sh
vendored
4
.github/test.sh
vendored
|
@ -13,8 +13,8 @@ waitport() {
|
||||||
|
|
||||||
test_api() {
|
test_api() {
|
||||||
waitport 3000
|
waitport 3000
|
||||||
curl -m 3 http://localhost:3000/api/serverInfo
|
curl -m 3 http://localhost:3000/
|
||||||
API_RESPONSE=$(curl -m 3 http://localhost:3000/api/json \
|
API_RESPONSE=$(curl -m 3 http://localhost:3000/ \
|
||||||
-X POST \
|
-X POST \
|
||||||
-H "Accept: application/json" \
|
-H "Accept: application/json" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
|
|
Loading…
Reference in a new issue