Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
curl 'http://translate5.localdev/editor/task/NUMERIC_TASK_ID/import' \
  -H 'Connection: keep-alive' \
  -H 'Accept: application/json' \
  -H 'Cookie: zfExtended=HERE_WILL_BE_YOUR_SESSION_ID_THEN'

Task import callback

Since a import is running in the background, the so created task will be returned with a state = import. For checking if the import is done, a callback should be configured: task import push callback