Issue calling URL

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
schurikomon
Posts: 1
Joined: 18 May 2013 01:36

Issue calling URL

Post by schurikomon »

Hi,

I am trying to call this URL: http://192.168.2.111:8083/ZWaveAPI/Run/ ... c.Set(255)
using 'httparty' from commandline

the error I get is:
-bash: syntax error near unexpected token `('

I get the same error using 'cURL'

using a simple rest client plugin in chrome there is no issue calling this URL. The device (a switch) does turn on and off.

Any ideas?

thx
User avatar
PoltoS
Posts: 7649
Joined: 26 Jan 2011 19:36

Make sure to quote the URL,

Post by PoltoS »

Make sure to quote the URL, since bash will think "(" of it's special character.
Post Reply