Paulus:

Seems like a good tool. I wanted to keep my question short, but I should have 
mentioned what my final end goal is to send an embedded mime type of a PDF 
file. What I need this for mainly is to display reports PDF which are created 
on the fly from a application which only accepts "POST" requests.

My app sends a HTTP/POST to a web service, it responds with a "file" with a 
mime type of PDF. I would like to redirect the data stream to something which 
can display the PDF without writing it to disk first.

The current Flash applications just requests/redirects the resultant data 
stream to a new window/tab using navigateToURL(urlRequest,"_blank").

Paul R. Stearns
Advanced Consulting Enterprises, Inc.

15280 NW 79th Ct.
Suite 250
Miami Lakes, Fl 33016

Voice: (305)623-0360 x107
Fax: (305)623-4588

----------------------------------------
From: "Paulus de B." <w.p.stuur...@knollenstein.com>
Sent: 6/23/20 3:58 AM
To: users@flex.apache.org
Subject: Re: Create "web page" on the fly in AIR
Hi Paul,

You can create a local web server to your AIR app and redirect the user to
this local URL/port. This way you can stream anything you want to the
browser from your own local AIR web server.

Here's an example:
https://github.com/leopoldodonnell/airhttp

Cheers

Paulus

--
Sent from: http://apache-flex-users.2333346.n4.nabble.com/


Reply via email to