Post 1 made on Friday October 3, 2014 at 09:59 |
Barry Gordon Founding Member |
Joined: Posts: | August 2001 2,157 |
|
|
I am trying to help a friend in Germany with control of a Philips TV that has the REST API. I can send any sort of GET command to the TV over IP and I always get the correct response. When I send a POST command with a control command formatted as a JSON string, I always get back a 400 status which the API states is a bad request, in essence the JSON strong is not valid. I cannot see the error.
What would help me greatly is a sniffer trace of the traffic from a control system to a Philips TV that uses the Rest interface. In that way I could see the exact payload that works. The string I have been testing with is:
{"key":"VolumeUp"}
Any advice or assistance appreciated.
TIA
Barry
|
|
Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our
Marketplace. For information on how to advertise your service or product
click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.