jejedumonde Posted November 28 Posted November 28 (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 November 28 by jejedumonde
Wulfie Reanimator Posted November 28 Posted November 28 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.
jejedumonde Posted November 28 Author Posted November 28 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?
Peter Stindberg Posted November 28 Posted November 28 Been in the same situation a few months ago, tried everything, and eventually gave up.
jejedumonde Posted November 28 Author Posted November 28 It seems that we can't do it... The only thing I can do is to give the link to search in MP. That's not so bad!
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now