Ewon TechForum
Providing technical solutions to technical requests


M2Web API for retrieving a webpage from a LAN device behind the eWon
wesmoore Offline
Junior Member
#1
Can you assist me on the best way to do this please?  This is what I was thinking may be close but wanted to check with you first.  

https://m2web.talk2m.com/t2mapi/get/devi...ram=GETURL for webpage on another devicet2maccount=account&t2musername=user&t2mpassword=pwd&t2mdeveloperid=ID

&t2mdeviceusername=adm&t2mdevicepassword=adm

Or should I write a script for the eWon to read the page periodically? 

Thanks,  Wes
Reply

simon Offline
eWON Support
#2
Hi Wes,

The Ewon cannot do SQL queries directly and M2Web API works only with web request.
If you can get the SQL values with HTTP calls, then it should work like https://m2web.talk2m.com/account/flexyname/proxy/DeviceIP:Port/LinkToWebform...&t2maccount=...

account, flexyname , deviceIP and port must be changed by the right values (proxy stays "proxy") :-)

Simon
Reply



Possibly Related Threads…
28-11-2019, 11:01 AM
Last Post: sommmen
  M2web disconnected Started by domash
2 Replies - 344 Views
31-10-2019, 03:55 PM
Last Post: domash
30-10-2019, 03:44 PM
Last Post: simon
  LAN device to talk2m Started by sommmen
3 Replies - 628 Views
16-10-2019, 02:45 PM
Last Post: simon
08-08-2019, 06:20 PM
Last Post: simon
18-06-2019, 12:38 PM
Last Post: simon
04-03-2019, 07:03 PM
Last Post: simon
  Ewon flexy Started by jenesha
1 Replies - 693 Views
01-03-2019, 07:20 PM
Last Post: simon
  VNC M2web api Started by lorenzopreda
3 Replies - 1.069 Views
01-03-2019, 06:36 PM
Last Post: simon
  M2Web login Started by dblake
1 Replies - 1.059 Views
05-02-2019, 11:13 PM
Last Post: AngelaT



Users browsing this thread:
1 Guest(s)



Theme © Ewon 2019 - Forum software by © MyBB - Cookie policy