HTTP 404呃ror "Page not found" when using a write method
Symptom
Using the GET method is successful, but attempting a POST, PUT, or DELETE method results in an HTTP 404 "Page not found" error.
Cause
The REST API access mode is set toread-only
.
行动
REST API访问模式
read-write
.switch(config)#https-server rest access-mode read-write
Enabling the read-write mode on the REST API allows POST, PUT, and DELETE operations to be called on all configurable elements in the switch database.