You need to sign in to do that
Don't have an account?

How do i create a REST end point in salesforce and make it public and it should accept an Integer as argument/parameter and triple it and send the response.? Any help will e appreciated i'm still a newbie!
How to create a REST end point in salesforce and make it public and it should accept an Integer as argument/parameter and triple it and send the response.
https://developer.salesforce.com/docs/atlas.en-us.apex_workbook.meta/apex_workbook/apex_rest_1.htm
Please find the above link
to make it public, you have to place it into sites, here is guide how to do it :
https://developer.salesforce.com/blogs/developer-relations/2012/02/quick-tip-public-restful-web-services-on-force-com-sites.html
And rest method like:
And just call it:
yourSiteUrl../services/apexrest/trippleInteger?yourInteger=123