06-29-2021 12:48 PM
Hi
I need to know what snap setting do we need to configure to send one CSV file via REST Post snap, it would be great if you can share a screenshot or a sample pipeline that does that.
(file need not be picked up from sldb, but to be created from input JSON data and sent on the fly)
Thanks
07-01-2021 12:50 AM
@vaidyarm if you want to post a file, you have to save that file (most relevant option is sldb). Then use below setting and delete that file after processing.
Whatever option you might looking for , that can be post as http entity.
09-27-2021 12:40 AM
Your solution had worked fine as long as we pick up files from SLDB to post via the rest post API,
it would be great if can have a way to directly send files using the above snap, without having to write first on SLDB.
Thanks
Rahul
08-04-2021 06:58 PM
we are trying to post the zip file(staged in sldb) using rest post , but not successful. The same zip file is posting through postman it is successful.
Can you guide us what are right configuration in rest post snap to post zip file as it is(invoking webservice-> stores zip file in sql server db blob column)
The zip file is created in sldb using the flow file reader->compression->filewriter
08-04-2021 07:06 PM
The below data adding to the zip file in target , expected one is not to add below information
-NpPpHQYDtTHWk9esbHreg29WnKx_bCYn
Content-Disposition: form-data; name=“file”; filename=“data.zip”
Content-Type: application/octet-stream; charset=UTF-8
Content-Transfer-Encoding: binary