Android 4, post problem in detail

Takashi Yoshino yoshino at sys.wakayama-u.ac.jp
Sun Nov 18 10:47:39 EST 2012


Hi Pierre,

Thank you for your information.

I can use Post script.

But I found that Post action of Android 3 and Android 4 is different.

Anyway, best regard for your information.
I can continue my programming.
_.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ 
Takashi Yoshino 
http://www.wakayama-u.ac.jp/~yoshino/lab/
Tel: +81-73-457-8441

On 2012/11/18, at 19:12, Pierre Sahores <sc at sahores-conseil.com> wrote:

> 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
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list