Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
aqibali
Contributor
Contributor

tFileFetch Adds Extra Headers in API File Upload - Need .Csv File (dynamic) Transfer

Hello Everyone

We are using Talend 8.0.1 to upload a dynamic .csv file via an API using the tFileFetch component. However, the recipient is receiving the file with additional headers that were not included in our request.

Additional Headers: 
-9x9Bpdp7HdS1jv5sN90DV41mXFbQaikFYoe- Content-Disposition: form-data; name="Task_RIU_20241122.csv"; filename="Task_RIU_20241122.csv" Content-Type: application/octet-stream Content-Transfer-Encoding: binary

Current Configuration:
Component Used: tFileFetch
API Endpoint: https://demo-files.wolf-files-demo-nprod.caas-cnp-apps-v2.com.intraorange/api/v1/files

Headers:
"Content-Type" : "text/csv"
"streamId" : "3192"
"Accept" : "application/json"
"tags" : "IDT="+context.IDT+",PART=EPIPPWS1,IDF=SAJEPI03"
"FileName" : ((String)globalMap.get("tFileList_1_CURRENT_FILE"))

How can we send the file without extra headers?

Thanks!
Ali

 

Labels (1)
  • v8.x

0 Replies