Invalid/missing parameters in body

Hello,

I am working on a project to control Philips Hue lamps by making use of the REST api. The application works flawlessly on both, MAC OS X and Windows. But my target is to have the app running on Raspberry. So, I was able to compile the app on Raspbian Jessie but got an error which seems to be somehow related to the JSON engine because the same call just works on Windows and MAC while on Linux i got the below error message:

http://192.168.178.250/api/8YXH5RgFQZiviecpNsj0b9PNFfIrUOXk2qATBAy0/groups/0/action
{
“scene”: “0uAlxvercrFvk-E”
}
[{“error”:{“type”:5,“address”:“/groups/0”,“description”:“invalid/missing parameters in body”}}]

The same call on Mac or Windows returns this instead:

http://192.168.178.250/api/8YXH5RgFQZiviecpNsj0b9PNFfIrUOXk2qATBAy0/groups/0/action
{
“scene”: “0uAlxvercrFvk-E”
}
[{“success”:{“/groups/0/action/scene”:“0uAlxvercrFvk-E”}}]

I am on juice 4.3.0. Anybody has seen this? Any idea how to fix it?

Thanks in advance.
Joerg

On Linux, by default, JUCE uses a very primitive URL/http engine. However, you can tell JUCE to use curl by enabling CURL in the Projucer:

No issues anymore since using JUCE_USE_CURL. Thanks for the hint, Fabian!

Joerg