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

Consider using POST instead of GET to account for long documents #53

Open
ChristophLeonhardt opened this issue Apr 16, 2024 · 1 comment
Assignees

Comments

@ChristophLeonhardt
Copy link
Collaborator

We noticed that long documents can cause issues in the form of http errors (see #47 and #51).

One way to potentially avoid this - aside from splitting up the document - might be to switch the http method from GET to POST. This is suggested in the Wiki of DBpedia Spotlight: https://github.com/dbpedia-spotlight/dbpedia-spotlight/wiki/Web-service (at the very end of the page). There is also an example containing the appropriate content-type.

@ablaette
Copy link
Contributor

ablaette commented May 9, 2024

Would moving to httr imply that the differences between GET and POST are not relevant any more?

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