Auto share tasks by WebODM API
After clicking “share” button in map preview page, an url will be generated, which can access to Orthophoto TMS layer without token, this is useful to me.
It seems that set the value of the parameter “pulic” to “true” when calling “http://host/map/project/PROJECT_ID/task/TASK_ID/” by “PATCH” method can make it.
I tried to call the API in POSTMAN, but I got an error:socket hang up.
However, when I called the API in Java Project,it works.
So, my confusion is :
Does it mean I should call the API immediately after getting TOKEN? Is it “x-csrftoken” or “sessionid” in cookies caused the problem?
Another discovery:
set “public” to “true” when calling API “http://host/api/projects/PROJECT_ID/tasks/TASK_ID/upload” can also works.
Useless when using API
“http://host/api/projects/PROJECT_ID/tasks/TASK_ID/commit”.


