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

Update Title and Description shown at http://localhost through the API? #547

Open
byte-for-byte opened this issue May 28, 2024 · 0 comments

Comments

@byte-for-byte
Copy link

What is your question?

Hello,
is there a way to update the Server's information on the homepage like http://localhost through the API?
I am looking for something like:
curl -X PUT -H "Authorization: Bearer ${TOKEN}" -H "Accept: application/json" -H "Content-Type: application/json" -d '{ "description": "foobar"}' http://localhost/edit
but this returns:
WARN org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver - Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'PUT' not supported]

Thanks

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