Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llHTTPRequest and POST

Meran Shinn
Registered User
Join date: 8 Oct 2008
Posts: 8
09-05-2009 15:34
I was wondering if its possible to place multiple POST data in a single llHTTPRequest. Ive only managed to find examples showing single pieces of data.

If not, can any one suggest a way to get data from sl to a web server without truncating spaces in the data.

Thanks

edit::

I feel so stupid;

llEscapeURL
ab Vanmoer
Registered User
Join date: 28 Nov 2006
Posts: 131
09-05-2009 18:37
//post three data items
owner=llEscapeURL(owner);
description=llEscapeURL(description);
customer=llEscapeURL(customer);

string data="desc="+description+"&own="+owner+"&cust="+customer;

llHTTPRequest(Url,[HTTP_METHOD,"POST",HTTP_MIMETYPE,"application/x-www-form-urlencoded"],data);