FAIRDataTeam / FAIRDataPoint

https://www.fairdatapoint.org
MIT License
60 stars 37 forks source link

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

Open byte-for-byte opened 1 month ago

byte-for-byte commented 1 month ago

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