Executing curl from particle function

I’ve seen your post about the struct parameter which left me puzzled as well, but in above case that shouldn’t be a problem.

However AFAIK, @jvanier had tweaked the preprocessor not too long ago to cause less hassle with “one-line if() ... else blocks” and these ridiculous blank-line-or-not trip-ups.
Maybe that might be a side-effect of that.