Member since
03-05-2024
5
Posts
0
Kudos Received
0
Solutions
03-12-2024
09:41 AM
how can I add this property to the invokHttp? I should precise that this content-type is only for the json part. the other part should be application/octet-stream
... View more
03-06-2024
05:16 AM
unfortunatly it's not working, however if this can help, in Nifi 1.11 i m using a groovy script (I thought that I can avoid it by migrating to 1.18)
... View more
03-06-2024
01:29 AM
thank you for your answer Samsal, its a rest API via HTTP the invokHttp is not throwing any error and m getting a 415 error with an empty response and yes when I try to change the file in postman with a text, I get the same error < 415 Unsupported Media Type < accept: application/json, application/cbor, application/xml;charset=UTF-8, application/*+json, text/xml;charset=UTF-8, application/*+xml;charset=UTF-8 < cache-control: no-cache, no-store, max-age=0, must-revalidate < content-length: 0 < content-security-policy: frame-ancestors https://sgconnect-hom.fr.world.socgen 'self' < date: Wed, 06 Mar 2024 09:23:07 GMT < expires: 0 < pragma: no-cache < strict-transport-security: max-age=31536000; includeSubDomains; preload < x-content-type-options: nosniff < x-frame-options: DENY < x-xss-protection: 1; mode=block however, when specifying the content type for the parameters it's working (in postman) the probleme is that I m not able to specify the second content type "application/json" and it's mandatory either with file or text
... View more
03-05-2024
06:31 AM
Hello, I m sending a http requestto an API and facing some difficulties to configure the multipart specificities. The 1st part should be binary (gzip) and named (data) and the second part should be json file and named (parameters). this works corretly with post man but I m not able to do the same thing with Nifi 1.18 this is my workflow if someone faced this situation, plz share your feedbacks
... View more
Labels:
- Labels:
-
Apache NiFi
03-05-2024
06:20 AM
Hello, I m performing almost the same request and facing some difficulties, anyone can help plz? I m sending multipart request from Nifi 1.18, but in my case the 1st part should be binary (gzip) and named (data) and the second part should be json file and named (parameters). this works corretly with post man but I m not able to do the same thing with Nifi 1.18 this is my workflow
... View more