How to save api json response as file in angular

1 · Adrian Matei · March 27, 2021, 11 p.m.
You can now export your bookmarks and snippets from Bookmarks.dev for backup or other purposes. You can do that by going to your dashboard and click Export my bookmarks button. A dialog will pop up to ask whether you want to see your bookmarks or snippets in the browser(this opens a new window) or save them as a json file: How it is implemented behind the scenes? I will show you the implementation for snippets export case. For bookmarks is basically the same. When you click the Export my...