I'm trying to do a put to update a GetTwitter Processor, I want to set the
Consumer & Access Token Secret. Doing the follow put with application/json
always gives me a 400 error. This is the put body:
{
"revision": {
"version": 0,
"lastModifier": "value"
},
"processor": {
"config": {
"Consumer Secret": "xxx",
"Access Token Secret": "xxx"
}
}
}
I am using this URI:
http://localhost:8080/nifi-api/controller/process-groups/9084b91c-8e28-4635-a7c6-991afe36b4ca/processors/fc3d62c0-995a-4075-bfa6-396fd89358d2
I know the URI is right, but for some reason the body keeps throwing
errors. Am i missing something? Everything else looks to be optional.
This the error everytime:
400 Bad Request: Message body is malformed. Unable to map into expected
format.
Thank you