When i do a JSON call , i get contents of a file. What i want is that , when pressed a button , this content should be downloadable as a file to the user.
So its like from web UI , browser side ,
my code fires a JSON request and i get some data as reply. This data should be down-loadable as a file