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

Adding person via PUT API fails #5

Open
Leo-PL opened this issue Jun 15, 2018 · 0 comments
Open

Adding person via PUT API fails #5

Leo-PL opened this issue Jun 15, 2018 · 0 comments

Comments

@Leo-PL
Copy link
Member

Leo-PL commented Jun 15, 2018

Adding a person via PUT API fails with error 411:

root@router:~# /usr/bin/curl --request PUT "http://****/api/v1/person/<nick>"
<html>
<head><title>411 Length Required</title></head>
<body bgcolor="white">
<center><h1>411 Length Required</h1></center>
<hr><center>nginx/1.2.1</center>
</body>
</html>

While doing the same via POST API works:

root@router:~# /usr/bin/curl --request POST "http://****/api/v1/person/<nick>"
{"status": "ok"}

Not a big deal since the POST API is functional, but unless I'm missing something, it would be nice to fix this, as API documentation advertises this as "the way" to add users to list.

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