Jump to content

Recommended Posts

Posted (edited)

Hi there!

I'm trying to send variables to Marketplace's form to know if someone has a store and then put the response in a link. For that I could get the number of the store in the respont. I used:

string market = "https://marketplace.secondlife.com/stores/store_name_search?utf8=%E2%9C%93&search%5Bsort%5D=&search%5Bkeywords%5D=";
string name = "the_name_resident" //which is like "myname+resident"
string mp = market + name;
key requestKey = llHTTPRequest(mp, [HTTP_METHOD, "GET"], "");

http_response(key request_id, integer status, list metadata, string body)
{
    if(requestKey == request_id)
    {
         llOwnerSay(body);
    }
}

With "GET" method I have a 499 error and body is empty.

With "POST" method I have a 404 error... why?

If someone could help me...

Edited by jejedumonde
Posted

POST requests will 404 if they get redirected, because the HTTP client won't follow redirects on POST requests.

499 is LL's custom error for "something went wrong," like if the request takes longer than 60 seconds. In the past the error has also happened when making requests to LL's own domains, including secondlife.com.

Posted

Thank you!

Apparently there's no redirection when we post in marketplace's form (apparently).

So there would be no way to know the id store of an avi?

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...