When testing my backend task app using Swagger Docs (Swagger UI) Post Task url: https://api.corva.ai/v2/tasks, I’m getting a 400 error. What could be the issue
1 Like
Please structure the body of your Post in the following way:
{
"task":{
"provider":"corva",
"app_key":"drilling-roadmap",
"asset_id":2342,
"properties":{
"operation":"scoring"
},
"payload":{
"offsets":[
248,
93434
],
"factor":56
},
"app_version":2
}
}
The example in the Swagger docs is missing the {task:{}}
1 Like