6.1.2.4 Checking the Reverse Geocoding Task Status
Using the task_id
returned in the
earlier section, you can obtain the status of the reverse geocoding task.
The following request returns the state or status of a specified task (such as
ONGOING
or DONE
).
HTTP GET Request
curl -k https://localhost:4040/spatialstudio/oauth/v1/tasks/a2743564e066153f4a14ac29000727b1 \
--header "Authorization: Bearer <MY_TOKEN>"
Response{
...
"state" : "DONE",
...
}
Once the task returns the state DONE
, then you can perform
Verifying the Result of Reverse Geocoding.
Parent topic: Example Workflow With the Spatial Studio REST Endpoints