[mythtv-users] Frontend Service API change in 0.28

Daniel Frey dmfrey at gmail.com
Sat Apr 18 10:32:41 UTC 2015


On Sat, Apr 18, 2015, 12:15 AM George Nassas <gnassas at mac.com> wrote:

> > On Apr 17, 2015, at 10:53 PM, dennis <deg at outlook.com> wrote:
> >
> > I upgraded my family room mythbox to 0.28 and noticed that some of the
> frontend service APIs now require data to be posted.      For example,  I
> could send a message to the frontend previously from a browser:
> >
> >
> http://10.0.0.101:6547/Frontend/SendMessage?Message=Shut+It+Off+and+go+to+bed
> ( I actually have a bookmark for this )
> >
> > Is there an easy way to execute the services directly from a browser,
> now that the information must be posted to the web service?   Any idea why
> this changed?
>
> It changed to be properly RESTy - GET requests are for reading data, all
> else is POST, UPDATE, or DELETE. You could create a web page with a bunch
> of forms that have no input fields but buttons that post to URLs like the
> one above. With jQuery you could get fancier, depends on your idea of easy,
> but anyway forms are the browser way to do post requests.
>
> - George
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>
Add  REST client to chrome or Firefox. Search their respective addon
managers. There are a bunch of them and some work in both browsers.

Or, put them in a script using curl to do the posts.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20150418/8a7afa34/attachment.html>


More information about the mythtv-users mailing list