Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

POST to /texts/ endpoint should accept .tess file separate from JSON metadata #43

Open
nOkuda opened this issue Jul 18, 2020 · 0 comments

Comments

@nOkuda
Copy link
Collaborator

nOkuda commented Jul 18, 2020

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant