setting request.body - WeOnlyDo Discussion board

setting request.body (General questions)

by steve, Tuesday, December 22, 2009, 05:20 (5449 days ago)

i'm having trouble getting variables to pass on a php when i set the body directly. my goal here is to start passing multipart forms with files through this, but i realized i can't even send a simple var.

on my php side i just have :

<? print_r($_POST); ?>
(which prints all the POST vars...)

when i do

HTTPX.Request.Body = yeah=okay

my response :

Array
(
)

when i use the formpost:

HTTPX.Request.FormPost.Add( yeah , okay )

my response:
Array
(
[yeah] => okay
)


i know i've done this before but i can't figure out why this isn't working.. any suggestions?


Complete thread: