FAIRDataTeam/FAIRDataPoint

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

Opened this issue · 0 comments

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