getTaskResult: Task Result

To retrieve the solution, make another POST request to this URL: https://salamoonder.com/api/getTaskResult, and include the task ID in the request body.

POST https://salamoonder.com/api/getTaskResult

{
  "api_key": "sr-xxxx-xxxx-xxxx",
  "taskId": "118b941e-c035-4429-8ec3-18d5d19ccf9b"
}

If the solution is ready, you will receive a response like this:

{
  "errorId": 0,
  "solution": {
    // Solution details here
  },
  "status": "ready"
}

Make sure to replace "118b941e-c035-4429-8ec3-18d5d19ccf9b" with your actual task ID.

Last updated