Apache NIFI - Not able to extract json data

Hema Purushothaman - Aug 23 - - Dev Community

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"}'
Enter fullscreen mode Exit fullscreen mode

**

**
`<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>
        `                     **
Enter fullscreen mode Exit fullscreen mode

can anyone suggest any solution for this?

.
Terabox Video Player