I know this is possible using the EventGhost plugin, and I even looked around in the source of that but I can't quite figure it out...even if it's not possible through a simple URL...can it be done with HTTP POST or something like that?
Thanks!
--
You received this message because you are subscribed to the Google Groups "joaomgcd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joaomgcd+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I took a look at the console, saw the JSON that shows up in the console (URLEncoded) and tried just copy and pasting that and POSTing it to my Android's local ip (using cURL on Windows)....and I haven't had any success yet...so, a few questions:
1) The local ip is just the IP of the Android device, right? Any specific port?
2) in the Chrome console the format seems to be:
key=[MY KEY HERE]&sender=[NAME OF SENDER]&
request=[WHOLE BUNCH OF JSON]
so I have to send that entire thing or JUST the JSON that appears at the end?
Thanks you SO MUCH for your help! You make some GREAT apps I couldn't live without them!
This is exciting!
Okay I'm giving it a shot and not getting anywhere (this may be because I', VERY new at using CURL)
i'm using this on the commandline:
curl -X POST -d @json.txt http://[LOCAL IP]:1817 --header "Content-Type:application/json"
(Where [LOCAL IP] is the local LAN ip of my android device)
(and json.txt is just the json, URLDecoded, copied from the Chrome console)
and i keep getting "curl: (56) Recv failure: COnnection was rest"
Did I leave out a step?
Thanks again!