· Figuring it out as I go

PDF view using a GET request

Widgets & Design

Has anyone ever used a GET request in order to render a webpage or a PDF? I have an endpoint on our website that renders a PDF after it makes a request to a firebase API and confirms that the user's JWT token is valid. Right now, I have it working with a pdf view widget and passing the user's jwt as a query parameter in the url. However, this isn't necessarily the most secure way to pass a JWT. Instead, I originally planned to pass my JWT in the authorization header, but that does not seem to be supported by the PDF viewer widget as it will only take a URL for the network path.

Does anybody have experience using GET requests for this type of situation in flutterflow before?

What have you tried so far?

Tried using an API call and placing the "raw body text" property into a webview, pdfview, and htmlview.

Did you check FlutterFlow's Documentation for this topic?
Yes
5
8 replies