03-13-2018 06:31 AM
How to find incoming data format dynamically?
Say for example,
Can any one suggest How to find incoming data format during the run-time. by using single input view for the pipeline?
03-24-2021 01:09 PM
Hi for me it didn’t work due to on postman, Headers Content-Type was set to the default
application/x-www-form-urlencoded. After I changed it to
text/csv or application/json depending on the file I chose,
and on the Binary Router snap, I did
$
[“content-type”]==“text/csv”
$
[“content-type”]==“application/json”
the Post then worked as expected.
04-24-2023 11:53 PM
Hi @mina ,
In previous reply, you have mentioned like through router snap using content-type field routed the data. I am trying to route the data based on content-type. But I didn’t get the content-type. Can you please help me with this. How to get that content-type data?
Thanks in advance.