# Loadvars():sendAndLoad() Question

**URL:** <https://forum.kirupa.com/t/loadvars-sendandload-question/157406>\
**Category:** flash\
**Created:** [August 1, 2005, 7:27pm UTC](https://forum.kirupa.com/t/loadvars-sendandload-question/157406 "2005-08-01T19:27:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ibejohn](https://avatars.discourse-cdn.com/v4/letter/i/ea666f/32.png) [@ibejohn](https://forum.kirupa.com/u/ibejohn)\
**Post date:** [August 1, 2005, 7:27pm UTC](https://forum.kirupa.com/t/loadvars-sendandload-question/157406/1 "2005-08-01T19:27:42Z")

</div>

[Actionscript 2.0]

Just wondering if you can use the sendAndLoad method of the Loadvars object to send “POST” data to a server then recieve the response in an XML object.

EXAMPLE

```auto
var lvObj:LoadVars=new LoadVars();
var xmlObj:XML=new XML();
lvObj.something=true;
lvObj.sendAndLoad("script.php",xmlObj,"post");

```

Is it possible? Any help will save me from the “Trail & Error” process.

Thanx 😃
