Upload one file as a raw body, so `curl -T photo.jpg "<uploadUrl>"` works with no extra flags. Authenticated by ?t=, not by an API key.

put/upload/direct

Request

  • Base URL: https://api.space-ocr.com
  • URL: https://api.space-ocr.com/upload/direct
  • Auth: none declared

Query parameters

tstring required

Upload ticket from POST /upload/ticket.

namestring

PUT only — the filename, which becomes the row's name. Synthesized when omitted.

typestring

PUT only — MIME override. Sniffed from the bytes when omitted.

wait'0' | '1' | 'true' | 'false'

Wait for the OCR result (up to 30s per image) instead of returning jobs.

Response

OK

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.