Skip to content

Comment on Parse Partners with Twilio and Mailgun for the Release of Cloud Modulesparent

Comments

The API is exposed natively. Where you see the curl examples, there is a dropdown to show how to do it in other languages.

  [PFCloud callFunctionInBackground:@"averageStars"
           withParameters:@{@"movie": @"The Matrix"}
           block:^(NSNumber *ratings, NSError *error) {
    if (!error) {
       // ratings is 4.5
    }
  }];
We should probably default to something other than curl or tweak that UI a bit. Thanks for pointing this out.

Cool! That's what I was looking for.

Yes, it's a bit buried. I missed the dropdown on the right. Speaking of Twilio, their docs are very good for stuff like this. They use a big obvious segmented control for switching between XML and JSON, for example.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.