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

invalid syntax through inverted comma in README example #2

Open
PeterNerlich opened this issue May 21, 2021 · 0 comments
Open

invalid syntax through inverted comma in README example #2

PeterNerlich opened this issue May 21, 2021 · 0 comments

Comments

@PeterNerlich
Copy link

Saw this by chance, there is an unescaped inverted comma in the usage example with curl:

curl -H 'Content-Type application/json' -X POST -d '{"doc":"Whether you think that you can, or that you can't, you are usually right."}' http://localhost:5000/index_text

This should be

curl -H 'Content-Type application/json' -X POST -d "{\"doc\":\"Whether you think that you can, or that you can't, you are usually right.\"}" http://localhost:5000/index_text

to work properly. I made a quick search for other options, but this seems to be the easiest 😅

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