plugins/tests/http_tests/get_test.js
Star 6b1b9d8c6a remove discover
add dao
many updates
2024-05-27 16:54:59 +08:00

9 lines
246 B
JavaScript

import http from "apigo.cloud/git/apigo/plugins/http"
let serv = startTestServer('10803')
let r = http.get('http://127.0.0.1:10803/echo?aaa=111')
serv.stop()
if(r.data.aaa !== '111') throw new Error('aaa is '+r.data.aaa+' not 111')
return true