Advertisement
Guest User

Untitled

a guest
Jul 25th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. Http http = new Http();
  2. HttpRequest req = new HttpRequest();
  3. req.setHeader('Content-Type','application/x-www-form-urlencoded');
  4. req.setMethod('POST');
  5.  
  6. String body= getAccountDetail(accountId);
  7. req.setBody(body);
  8.  
  9. body='ocid='+value1+'&o='+v1 & v2
  10. Ex: body='ocid='+value1+'&o='+'Dun & Bradstreet'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement