HTTPS Post Test Page
Through the following form, you can post a value and a file (max 500kb) in the same manner as Ewon does:
Server currently reading received commands:
2024-12-05 07:12:43 [66.249.66.192] : No params No file received (View headers) | |
2024-12-04 15:12:43 [66.249.66.193] : No params No file received (View headers) | |
2024-12-04 13:12:34 [66.249.74.66] : No params No file received (View headers) | |
2024-12-03 15:12:17 [102.50.242.152] : Params : param1, Only extension txt, jpg, jpeg, txt, csv and png are allowed (Extension used .bas). (View headers) | |
2024-12-03 15:12:54 [102.50.242.152] : Params : param1, Only extension txt, jpg, jpeg, txt, csv and png are allowed (Extension used .shtm). (View headers) | |
2024-12-02 16:12:52 [37.191.119.64] : Params : param1, File uploaded :Screenshot-15-.png (Click here to access the file) (View headers) | |
2024-11-30 19:11:35 [85.208.96.196] : No params No file received (View headers) | |
2024-11-28 10:11:48 [35.177.122.166] : Params : MyFirstParam, File uploaded :events.txt (Click here to access the file) (View headers) | |
2024-11-28 08:11:04 [95.182.173.105] : Params : MyFirstParam, File uploaded :events.txt (Click here to access the file) (View headers) | |
2024-11-27 14:11:31 [66.249.66.192] : No params No file received (View headers) |
The corresponding Ewon BASIC Script line is:
PUTHTTP "https://tools.Ewonsupport.biz","/post/post_example.php","postparam[]=MyFirstParam","file=[$dtEV $fnevents.txt]","POSTERROR"
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.