Android 4, post problem in detail
Pierre Sahores
sc at sahores-conseil.com
Sun Nov 18 05:12:50 EST 2012
Hi Takashi,
Sorry for the error in previous post. Please, read :
post URLEncode("kind=test2") to URL MIAS
instead at line 8.
Try :
put "http://m3-shiga.yoslab.net/m3is_v4_debug/test.php" into MIAS
get url (MIAS & "?function=test")
if it is not "" then
### parse your $_GET response
end if
set httpHeaders to "Content-type: application/x-www-form-urlencoded" & return
get url MIAS ### tip to be sure to wakeup the server ###
post URLEncode("kind=test2") to URL MIAS
if it is not "" then
### parse your $_POST or $_POST_RAW response
end if
Don't try to get both the GET and POST replies from a single request.
Always put "(" and ")" around urls containting vars and quoted contents.
HTH,
Pierre
--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com
More information about the use-livecode
mailing list