HTTP(S) Post Test Page



2019-12-15 23:12:24 [194.78.71.210] : Params : MyFirstParam, No file received (View headers)
2019-12-15 23:12:23 [194.78.71.210] : Params : MyFirstParam, File uploaded :events.txt (Click here to access the file) (View headers)
2019-12-15 23:12:19 [194.78.71.210] : Params : MyFirstParam, No file received (View headers)


Through the following form, you can post a value and a file (max 500kb) in the same manner as eWON does:


The corresponding eWON BASIC Script line is :

PUTHTTP "ewonsupport.biz","/post/post_example.php","postparam[]=MyFirstParam","file=[$dtEV $fnevents.txt]","POSTERROR"

or if you want to post data over HTTPS :

PUTHTTP "https://ewonsupport.biz","/post/post_example.php","postparam[]=MyFirstParam","file=[$dtEV $fnevents.txt]","POSTERROR"

(To make it work over HTTPS, you must add the following certificate in the eWON certificate directory. See dedicated KB on the support website)

Using this Script line, the eWON can post several values (To post an additional value, add the string "&postparam[]=mySecondvalue" in the third argument) and a file. The source file can be an export bloc descriptor or a static file.

If you want to send data from eWON through M2U, your eWON must be connected on Talk2M and your account correctly configured (click here). In this case, the Script line becomes :

PUTHTTP "m2u.talk2m.com","/post/post_example.php","postparam[]=MyFirstParam","file=[$dtEV $fnevents.txt]","POSTERROR"

The PHP script used to treat these data on the server can be view here.