Jump to content

get request with headers


Posessor

Recommended Posts

Hi everyone,

 

I'm doing a project in Flex and I needed to do an HTTPService request to a web service, but as it turns out, Flash 9 and 10 do not support header information in a get request.

So as a workaround I thought of just passing the url of the web service with the right header information to a php script that does the actual request to the web service and returns the xml I need. Here's the problem, I don't know anything about php. Can someone please help me?

 

thx in advance

Link to comment
https://forums.phpfreaks.com/topic/196401-get-request-with-headers/
Share on other sites

Have a read here, it might be off topic (php wise) but it could steer you in the right direction: http://www.hvaonline.net/hvaonline/posts/list/2034.hva

 

To have flash call a php page to call a php service seems like an awfull work-around just to have xml returned. But if the above does not work there are examples on the web to do this.

thank you for the tip but if you read the content of the post in the link you provided, it says it will work in flash 7 and 8, I need a method that will work with flash 9 and 10.

 

To have flash call a php page to call a php service seems like an awfull work-around just to have xml returned.

 

Maybe I was a bit vague but I want my Flex app to call a php script that calls an xml webservice not a php service

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.