Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Won't Fix
-
None
-
None
-
None
Description
From Anup on the mailing list:
Hi,
I have a REST service that needs to be invoked with a few input
parameters like filename and appName. I was able to call this REST service
from NiFi through 'InvokeHTTP' processor by sending the parameters as part
of the URL:
"http://<ip>:<port>/app/context?filename=<filename>&appName=<appName>Now I need to use POST to do the same and send the parameters in the body
part. How do I achieve this?METHOD: POST
URL: http://<ip>:<port>/app/contextWhere do i send the parameters filename and appName?
Regards,
anup
I tried doing that with the below entries.. but its failing.
Regular ExpressionInfo = (.*)
Replacement ValueInfo = appName=myApp&filename=${path}${filename}
Character SetInfo = UTF-8
Maximum Buffer SizeInfo = 1 MB
Evaluation ModeInfo = Entire textHow would these be treated as form parameters?