I have a backend that returns some data, I need to use that data to create a pdf document that the user will download.
In my code I have the following: