I want to use the API system through aapanel to set up cron, create a database, or add and delete sites. Is there a sample file somewhere?

    4 days later

    what is x-http-token and how can i create cookie in v2 api

    here is my code

    fetch("/v2/project/nodejs/get_project_list", {
    headers: {
    accept: "application/json, text/plain, /",
    "accept-language": "en-US,en;q=0.9",
    "content-type": "application/x-www-form-urlencoded",
    "x-http-token": "ZtCa1LiYjWFkKZvl50M3FapeivLX**",
    cookie:
    "1933861057760
    **=e394f293-7901-4948-b000-.9ZPNEvZkG*****",
    },
    body: "data=%7B%22p%22%3A1%2C%22limit%22%3A10%2C%22search%22%3A%22%22%7D",
    method: "POST",
    })
    .then((response) => response.json())
    .then((data) => console.log(data.message.data))
    .catch((error) => console.log(error));

    i wanna know here do i put my api key help me please