Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. <Errors><Error><errorCode>INVALID_SESSION_ID</errorCode><message>Session expired or invalid</message></Error></Errors>
  2.  
  3. @ RestResource(urlMapping = '/SumData')
  4. global class SumRESTAPI{
  5. @HttpPost
  6. global static Integer returnSum(Integer i1 , Integer i2) {
  7.  
  8. return i1+i2 ;
  9.  
  10. }
  11.  
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement