I am doing a request with strokes params, and contentType is 'Text', but get response.text is
'{"code":"recognition.no.suitable.mime.type","message":"No suitable mime type was found for this recognition. Suitable mime types are : text/plain, application/vnd.myscript.jiix, image/jpeg, image/png, application/vnd.myscript.iink, application/vnd.openxmlformats-officedocument.wordprocessingml.document, text/html"}'
Maweier
hi,
I am doing a request with strokes params, and contentType is 'Text', but get response.text is
'{"code":"recognition.no.suitable.mime.type","message":"No suitable mime type was found for this recognition. Suitable mime types are : text/plain, application/vnd.myscript.jiix, image/jpeg, image/png, application/vnd.myscript.iink, application/vnd.openxmlformats-officedocument.wordprocessingml.document, text/html"}'
please help me with the problem
cheers,
wei
Dear Wei,
thank you for contacting us.
Currently, in the headers of your REST request, you shall ensure you set the mimeType you expect for response: https://developer.myscript.com/docs/interactive-ink/latest/overview/import-and-export-formats/#available-exports
Using postman, this can be done as follows:
Let us know if this helps.
Best regards,
Olivier
Olivier @MyScript
Dear Wei,
thank you for contacting us.
Currently, in the headers of your REST request, you shall ensure you set the mimeType you expect for response: https://developer.myscript.com/docs/interactive-ink/latest/overview/import-and-export-formats/#available-exports
Using postman, this can be done as follows:
Let us know if this helps.
Best regards,
Olivier