when I hit this Nifi api PUT/processors/{id}/run-status, I couldn't get the response in JSON.
Instead I'm getting this
html response.
**
curl -X PUT "http://localhost:8080/nifi-api/processors/{processor-id}/run-status" -H "Content-Type: application/json" -H "Accept: application/json" -d '{"revision": {"version": 13},"state": "RUNNING"}'
**
**
`<html>
<head><title>302 Found</title></head>
<body bgcolor="white">
<center><h1>302 Found</h1></center>
<hr><center>nginx/1.12.2</center>
</body>
</html>
` **
can anyone suggest any solution for this?
Top comments (0)