2016-11-29 5 views

答えて

3

ステータスエンドポイントは、GET要求のみを受け入れます。その他のHTTPメソッドではエラーが発生し、405ステータスコードが返されます。 POSTを使用しようとしている理由はありますか?ドキュメントには、GETしか受け付けられないと記載されています。

GET /flow/status 
Gets the current status of this NiFi 
Request 
consumes: 
*/* 
Response 
produces: 
application/json 
Status Code Type Description 
200 ControllerStatusEntity successful operation 
400 string NiFi was unable to complete the request because it was invalid. The request should not be retried without modification. 
401 string Client could not be authenticated. 
403 string Client is not authorized to make this request. 
409 string The request was valid but NiFi was not in the appropriate state to process it. Retrying the same request later may be successful. 
Authorization 
Read - /flow 
関連する問題