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

Allow POST requests on /compile for non-url contents #78

Open
heytdep opened this issue Apr 26, 2022 · 1 comment
Open

Allow POST requests on /compile for non-url contents #78

heytdep opened this issue Apr 26, 2022 · 1 comment

Comments

@heytdep
Copy link

heytdep commented Apr 26, 2022

Currently, there is no way to pass the data of the text parameter in /compile with a POST request (https://latexonline.cc/compile?text={latexCode}).

This makes compiling long documents through this endpoint and without using a URL (which is not optimal when you only have user-entered input and don't want to upload it to github first for both security and optimization purposes) impossible since a 414 error (request-uri too large) is returned when trying to compile a long tex code.

Allowing also POST requests should fix this issue.

@kpym
Copy link

kpym commented Jul 3, 2022

You can POST .tar archive to https://texlive2020.latexonline.cc/data. You can check this in latexonline bash script.

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

2 participants