Callback example
curl --request POST \
--url https://api.maxapi.ai/api/xxx/xxx \
--header 'Content-Type: application/json' \
--data '
{
"img_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"user_id": "<string>",
"urls": [
"<string>"
],
"duration": 123,
"status": 123
}
'import requests
url = "https://api.maxapi.ai/api/xxx/xxx"
payload = {
"img_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"user_id": "<string>",
"urls": ["<string>"],
"duration": 123,
"status": 123
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
img_uuid: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
user_id: '<string>',
urls: ['<string>'],
duration: 123,
status: 123
})
};
fetch('https://api.maxapi.ai/api/xxx/xxx', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.maxapi.ai/api/xxx/xxx"
payload := strings.NewReader("{\n \"img_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"user_id\": \"<string>\",\n \"urls\": [\n \"<string>\"\n ],\n \"duration\": 123,\n \"status\": 123\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.maxapi.ai/api/xxx/xxx")
.header("Content-Type", "application/json")
.body("{\n \"img_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"user_id\": \"<string>\",\n \"urls\": [\n \"<string>\"\n ],\n \"duration\": 123,\n \"status\": 123\n}")
.asString();{
"code": 0
}Callback example
Use this endpoint to call the provider-compatible callback example operation through MaxAPI.
POST
https://api.maxapi.ai
/
api
/
xxx
/
xxx
Callback example
curl --request POST \
--url https://api.maxapi.ai/api/xxx/xxx \
--header 'Content-Type: application/json' \
--data '
{
"img_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"user_id": "<string>",
"urls": [
"<string>"
],
"duration": 123,
"status": 123
}
'import requests
url = "https://api.maxapi.ai/api/xxx/xxx"
payload = {
"img_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"user_id": "<string>",
"urls": ["<string>"],
"duration": 123,
"status": 123
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
img_uuid: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
user_id: '<string>',
urls: ['<string>'],
duration: 123,
status: 123
})
};
fetch('https://api.maxapi.ai/api/xxx/xxx', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.maxapi.ai/api/xxx/xxx"
payload := strings.NewReader("{\n \"img_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"user_id\": \"<string>\",\n \"urls\": [\n \"<string>\"\n ],\n \"duration\": 123,\n \"status\": 123\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.maxapi.ai/api/xxx/xxx")
.header("Content-Type", "application/json")
.body("{\n \"img_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"user_id\": \"<string>\",\n \"urls\": [\n \"<string>\"\n ],\n \"duration\": 123,\n \"status\": 123\n}")
.asString();{
"code": 0
}