Solved

Looking Adobe Flex  Post that works

Posted on 2011-02-18
2
421 Views
Last Modified: 2012-05-11
Here is the example I am trying to use.
The varables I am passing will change with every call, so a fixed form will not work.

This is what I tried, it calls the page but does not pass the data.
I have done post data in many other langues but can not see why this is so much trouble.

parameters = "command=save&text=Text&comment=none"

service = new HTTPService();
service.url = "http://domain.com/index.php";
service.method = "POST";
service.send(parameters);
0
Comment
Question by:yahoolane
2 Comments
 
LVL 17

Accepted Solution

by:
deepanjandas earned 500 total points
ID: 34931638
parameters should be an object instead of string:

var parameter:Object = {};
parameter.command="save";
parameter.text="Text";
parameter.comment="none";
service.send(parameter);

Warm Regards
Deepanjan Das
0
 
LVL 1

Author Closing Comment

by:yahoolane
ID: 34932810
Yep by adding this Line
I can make pass any Key pair


parameter[eventTXT]=eventVal;

Now to test event/error  Handeling
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

First things first - Preparation We need all the part for this install and it's much nicer to have them all on hand when you need them so here's what's required. Download Eclipse 3.5 32 bit (I like the Classic flavour) from here. (http://www.e…
The business world is becoming increasingly integrated with tech. It’s not just for a select few anymore — but what about if you have a small business? It may be easier than you think to integrate technology into your small business, and it’s likely…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question