# Individual LED control on linux

**URL:** <https://wled.discourse.group/t/individual-led-control-on-linux/7265>\
**Category:** Issues\
**Created:** [January 27, 2023, 6:59pm UTC](https://wled.discourse.group/t/individual-led-control-on-linux/7265 "2023-01-27T18:59:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Metej](https://avatars.discourse-cdn.com/v4/letter/m/67e7ee/32.png) [@Metej](https://wled.discourse.group/u/Metej)\
**Post date:** [January 27, 2023, 6:59pm UTC](https://wled.discourse.group/t/individual-led-control-on-linux/7265/1 "2023-01-27T18:59:54Z")

</div>

Hello, I’m after some help with the JSON API. I want to use my raspberry pi to run curl commands to control individual leds of my led strip.

I tried this command, that works fine on windows:

> curl -X POST -H “Content-Type: application/json” -d {“seg”:{“i”:[70,[255,0,0]]}} 192.168.0.69/json

However if I run it using my raspberry pi, this error pops up:

> curl: (3) nested brace in URL position 6:  
> {seg:[255}

I’m not experienced with linux, so any help is appreciated! Thanks in advance!
