You cannot do this reliably - after all, it could be a proxy server, or someone might have looked at your component of the Flash component to decide how to reuse your API without any restrictions, t have.
For a basic sanity check, to differentiate the output, then you could just add a flag to say “Flash API version please”; But with all the HTTP messages, it's relatively trivial to fake everything that is required.