You need to sign in to do that
Don't have an account?
Sigit Kusuma 25
Rest API with Apache HttpComponents 4.4
Hi
I managed to get my Java Environment up and running using the following:
https://developer.salesforce.com/docs/atlas.en-us.salesforce_developer_environment_tipsheet.meta/salesforce_developer_environment_tipsheet/?state=id
The above uses HttpComponents 4.4.
There are examples using the Rest API here:
https://developer.salesforce.com/page/Getting_Started_with_the_Force.com_REST_API
This appears to be using the old version of HttpComponents (v3 maybe?). In particular, I'm trying to get the SOQL code working for HttpComponents 4.4. Has anyone successfully managed to do so and have code samples?
Thanks
I managed to get my Java Environment up and running using the following:
https://developer.salesforce.com/docs/atlas.en-us.salesforce_developer_environment_tipsheet.meta/salesforce_developer_environment_tipsheet/?state=id
The above uses HttpComponents 4.4.
There are examples using the Rest API here:
https://developer.salesforce.com/page/Getting_Started_with_the_Force.com_REST_API
This appears to be using the old version of HttpComponents (v3 maybe?). In particular, I'm trying to get the SOQL code working for HttpComponents 4.4. Has anyone successfully managed to do so and have code samples?
Thanks
If my answer helps resolve your query, please mark it as the 'Best Answer' and upvote it to benefit others and improve the overall quality of Discussion Forums.
Gaurav Kheterpal
Certified Force.com Developer| Salesforce Mobile Evangelist| Developer Forums Moderator| Dreamforce Speaker
http://www.javacodegeeks.com/2014/06/how-to-use-salesforce-rest-api-with-your-javaserver-pages.html