If you're receiving a 405 I think it's unable to find a matching endpoint
for the Action/URL/Content-type/Accepts combination. If you're trying to
update an existing Processor you'll want to

PUT http://localhost:8080/nifi-api/processors/b0c63454-89a8-
15ef-be22-959bd4a72e5a
<http://localhost:8080/nifi-api/processors/b0c63454-89a8-15ef-be22-959bd4a72e5a-d>


Here's an example payload of a working request:

{"revision":{"clientId":"1e58c7f1-015a-1000-6831-e613d6ee9703","version":1},"component":{"id":"be2f66fb-0157-1000-a25b-570596c5b324","state":"STOPPED"}}

Also, check out your browser's Dev Tools and watch the Network tab. The UI
uses these same endpoints.

Matt

On Wed, Feb 8, 2017 at 8:58 AM, maykiwogno <maykiwo...@gmail.com> wrote:

> Thanks, already try with RUNNING but it is same result..
>
>
>
> --
> View this message in context: http://apache-nifi-developer-
> list.39713.n7.nabble.com/How-restart-and-clear-state-for-
> listHDFS-processor-tp14616p14623.html
> Sent from the Apache NiFi Developer List mailing list archive at
> Nabble.com.
>

Reply via email to