Re: [mh] JSON returns no data?
Tom MacLean <[email protected]>
| Newsgroups | gmane.comp.misc.misterhouse.user |
|---|---|
| Message-ID | <[email protected]> |
Your URL works. I see the form to use is /json/objects?items=ITEM_NAME&fields=label,... Many thanks, Tom Sent from my iPhone > On Jan 23, 2021, at 8:14 PM, H Plato <[email protected]> wrote: > > What if you try: > > curl 'http://localhost:8080/json/print_speaklog' > >> On Jan 23, 2021, at 3:25 PM, Tom MacLean <[email protected]> wrote: >> >> Hi All >> >> I’m playing with the idea of a Ruby on Rails application that acts as a front end for MH. I’m trying to see what data I can suck out of MH using the JSON commands, but I keep getting (like on many web interface commands) “The last command returned no data” (paraphrasing as I’m away from my PC). >> >> When I call http://localhost:8080/sub?json(<anything>) I get the aforementioned message. >> >> Is something not authenticated properly? >> >> Thanks >> Tom >> >> Sent from my iPhone >> >> ________________________________________________________ >> To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users >> > > ________________________________________________________ To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users