I’ve been checking out RestKit and the GET works
@client.get("/?amount=5", delegate:self)
Does anyone know how to make a POST and receive the result?
The docs mention that it looks something like this –
@client.post("/ask", params:@paramvar, delegate:self)
What do you encapsulate @paramvar? I have tried it as an array, hash and even nil – however, none of them have yielded any results.
Found an example in the RubyMotion_Cookbook.
https://github.com/IconoclastLabs/rubymotion_cookbook/tree/master/ch_8/06_sendinghttppost