查询所有任务
curl --request GET \
--url https://api.maxapi.ai/mj/task/listimport requests
url = "https://api.maxapi.ai/mj/task/list"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.maxapi.ai/mj/task/list', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.maxapi.ai/mj/task/list"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.maxapi.ai/mj/task/list")
.asString();[
"<unknown>"
]{}{}{}查询所有任务
GET
https://api.maxapi.ai
/
mj
/
task
/
list
查询所有任务
curl --request GET \
--url https://api.maxapi.ai/mj/task/listimport requests
url = "https://api.maxapi.ai/mj/task/list"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.maxapi.ai/mj/task/list', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.maxapi.ai/mj/task/list"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.maxapi.ai/mj/task/list")
.asString();[
"<unknown>"
]{}{}{}响应
请求成功