How to upload a file by using InvokeHTTP (multipart/form-data)?
I try to use InvokeHTTP processor to upload a file and got some error. I had a HTTP POST message that I tested by using Postman and everything ok.
I try to implement in NIFI but I cannot change the Content-Type by using UpdateAttribute processor as I searched in the internet. Nifi still used the default value as Picture1 and I guess it produced the error in the Picture2 due to it could not find the username
field that I sent in the flowfile content as a multipart/form-data.