# getURL() and POST

**URL:** <https://forum.kirupa.com/t/geturl-and-post/137538>\
**Category:** Uncategorized\
**Created:** [February 15, 2005, 4:26pm UTC](https://forum.kirupa.com/t/geturl-and-post/137538 "2005-02-15T16:26:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ricesteam](https://avatars.discourse-cdn.com/v4/letter/r/3be4f8/32.png) [@ricesteam](https://forum.kirupa.com/u/ricesteam)\
**Post date:** [February 15, 2005, 4:26pm UTC](https://forum.kirupa.com/t/geturl-and-post/137538/1 "2005-02-15T16:26:10Z")

</div>

Hi,

I am having trouble passing variables to my server. The following code is on a button:

```auto

on (release)
{
	var Username:String = user;
	var Password:String = pass;
	var RedirectTo:String = "/xnet/xnet_knowman.nsf/start?Open"

	getURL("/servlet/KX_loginProxy", "_parent", "GET");
	
}

```

“user” and “pass” are the var names of two input fields (text objects). The problem is that it is only passing “user” and “pass” variables. I need the script to pass Username, Password, and RedirectTo.

Any help will be appreciated. Thanks.

Cheers.
