Page 1 of 1

Issue calling URL

Posted: 18 May 2013 01:49
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

Make sure to quote the URL,

Posted: 18 May 2013 01:49
by PoltoS
Make sure to quote the URL, since bash will think "(" of it's special character.