function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
RAM RRAM R 

how can i call from one org to another org with rest web services?

Please suggest me if anyone knows "I have written a web services in my personal org, that is sum of two parameters but i need to pass two parameters from another salesforce org and i need to give authentication as well" ?

@RestResource(urlMapping='/addParameters/*')
global with sharing class REST_addParameters{
@HttpPost 
global static Integer doParamsTest(Integer parameterone, Integer parametertwo) {     
     Integer sum = 0;     
     sum = parameterone + parametertwo;    
    return sum;
    }  
}
Best Answer chosen by RAM R
RAM RRAM R
Resfer this question for answer....

how to insert Attachments and content using rest web services? what is the http request?
https://developer.salesforce.com/forums/ForumsMain?id=906F0000000MGlaIAG

All Answers

Sagar PareekSagar Pareek
Have you read this post on this discussion board?

https://developer.salesforce.com/forums/?id=906F0000000AeXeIAK
RAM RRAM R
Resfer this question for answer....

how to insert Attachments and content using rest web services? what is the http request?
https://developer.salesforce.com/forums/ForumsMain?id=906F0000000MGlaIAG
This was selected as the best answer