Member since
01-27-2021
2
Posts
1
Kudos Received
0
Solutions
01-27-2021
09:16 AM
1 Kudo
Hi, I'm trying to clear the state of a processor (listFTP) to get all files. so I used the REST API like https://nifi.apache.org/docs/nifi-docs/rest-api/index.html stop = requests.put("{}/processors/{}/run-status".format(nifi_api,processor_id),
data= {"state": "STOPPED"},
headers={'Authorization':'Bearer {}'.format(token),
'Accept':'application/json',
'Content-Type':'application/json'},
verify=False).text
print(stop) I got 404 error: The specified resource could not be found. Any help please? Thank you
... View more
Labels:
- Labels:
-
Apache NiFi