mirror of
https://github.com/crystelf/crystelf-core.git
synced 2025-07-04 14:49:19 +00:00
要考试了好烦啊..
This commit is contained in:
parent
5e6952cfc1
commit
a51e14067c
@ -49,8 +49,9 @@ async function testGetAPI() {
|
|||||||
|
|
||||||
async function testPostAPI() {
|
async function testPostAPI() {
|
||||||
try {
|
try {
|
||||||
const response = await axios.post('http://127.0.0.1:4000/api/bot/getBotId', {
|
const response = await axios.post('https://core.crystelf.top/api/bot/getGroupInfo', {
|
||||||
token: 54188,
|
token: '阿弥诺斯',
|
||||||
|
groupId: '1042721418',
|
||||||
});
|
});
|
||||||
logger.info('[HTTP][POST] Response:', response.data);
|
logger.info('[HTTP][POST] Response:', response.data);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user