+ Start a Discussion
noppaism.ak.em.net1.3958885841502703E12noppaism.ak.em.net1.3958885841502703E12 

How to implement REST with APEX call in native iOS apps ???

Hi ,

Could you please let me know how to implement REST with APEX call in native iOS apps?

Currently below command was worked fine in command prompt after the Apex rest Class was created.

curl -H "Authorization: Bearer sessionId"
https://instance.salesforce.com/services/apexrest/Account/accountId

But actually this REST request should be called in the native iOS (not cURL..)
I investigated any site how to implement , but I could not.

So I posted this forum.

[I want to know.]
1. How to implement regarding getting the SFDC authorization in order to connect the native apps to SFDC service? (Sample source is appreciated.)
2. Hoe to implement regarding calling the APEX REST with objective-c? (Sample source is appreciated.)


Thank you in advance.
Ramu_SFDCRamu_SFDC
Hope the following blog posts helps

http://adoptioncurve.net/archives/2013/07/a-basic-salesforce-oauth-implementation-for-ios/
Ramu_SFDCRamu_SFDC
Also the below post,  I did not go much deep into this but the heading is promising :)

http://appirio.com/category/tech-blog/2013/07/rest-with-apex-service-in-native-ios-apps/
noppaism.ak.em.net1.3958885841502703E12noppaism.ak.em.net1.3958885841502703E12
Hi Ramu -san

I appreciate your reply.
I will confirm these sites and I tackle this issue.

Best Regards.