You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, POST to /texts/ endpoint takes the .tess file as a string in a JSON object as part of the request body. This is not standard practice, as @jeffkinnison notes in #32.
It remains unclear to me what standard practice is. https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST notes that enctype=multipart/form-data is standard when working with HTML forms. But what should be done when sending a POST request that is not through HTML forms?
The text was updated successfully, but these errors were encountered:
Currently, POST to /texts/ endpoint takes the .tess file as a string in a JSON object as part of the request body. This is not standard practice, as @jeffkinnison notes in #32.
It remains unclear to me what standard practice is. https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST notes that enctype=multipart/form-data is standard when working with HTML forms. But what should be done when sending a POST request that is not through HTML forms?
The text was updated successfully, but these errors were encountered: