Programming using curl

Hi All,
Hoping you can provide some assistance

We are trying to set the BlinkStick Strip up using the below

curl http://www.blinkstick.com/d/12345678/red.json

can anyone provide some advice?

Cheers,
Tom.