My goal is to have a form that sends a URL to an endpoint that returns a base64 PDF encoding that appears on the screen without a window.open.
Example output I want: https://s.natalian.org/2017-04-04/index.html

I am confused how to use the resulting objectURL to show the answer data: application / pdf; base64 .
From https://s.natalian.org/2017-04-04/ObjectURL.html I assume that I am not correctly decoding the base64 response? I donβt know how to make it display as PDF, as the output I want above.