-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
It seems that the LILT-API header is not used. Instead individual values, such as project_id are sent in their own headers.
The only references to LILT-API appear to be in the commentary / documentation. A search confirms this: https://github.com/lilt/lilt-python/search?q=LILT-API
I have traced the headers including project_id through to the urllib3.request() method, and they are not passed as a JSON object with the header field LILT-API.
Consequently, a call to the upload_document endpoint results in a bad request HTTP response body: {"message":"Invalid request: missing project_id header"}
Metadata
Metadata
Assignees
Labels
No labels