# \[AS2\]Help needed with POST

**URL:** <https://forum.kirupa.com/t/as2-help-needed-with-post/295758>\
**Category:** flash\
**Created:** [September 3, 2009, 9:45pm UTC](https://forum.kirupa.com/t/as2-help-needed-with-post/295758 "2009-09-03T21:45:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![predte4a](https://avatars.discourse-cdn.com/v4/letter/p/9fc348/32.png) [@predte4a](https://forum.kirupa.com/u/predte4a)\
**Post date:** [September 3, 2009, 9:45pm UTC](https://forum.kirupa.com/t/as2-help-needed-with-post/295758/1 "2009-09-03T21:45:43Z")

</div>

Hi, guys, any help will be useful  
I`m trying to send variables to php script via POST with AS2. This is the code I use:

```auto
on(press){     
var sendvars:LoadVars = new LoadVars();     
sendvars.at = 'abv';     
sendvars.wpc = 'abv';     
sendvars.AlbumName = an.text;     
sendvars.send('http://www.some_url.co./login.php', "_blank", "POST"); 
}  

```

the variables are sent, but POST is converted to GET and flash open this URL: http://www.some\_url.co./login.php?at=abv&wpc=abv&AlbumName=something

so, any ideas why is that?.. as2 bug or something else?
