Good catch!
That’s one reason why using the proper way to provide text blocks in this forum can help finding such things.
When you wrap your command in a set of these
your text here
// or for CPP code
```cpp
// code here
it will look like this
curl https://api.particle.io/v1/devices/events -d "name=hello_event” -d "data=1” -d “private=true” -d “ttl=60” -d access_token=193…XXXXXXXX…
```cpp
Particle.subscribe("hello_event", helloHandler,MY_DEVICES);
void helloHandler(const char *event, const char *data){
float fr=atof(data);
Serial.println(fr);
}
Notice the code highliting - the closing double quote is not interpreted as such.
And printing out const char* data and const char* event should have revealed this too.
With above statement the event name would probably be hello_event” -d