Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public with sharing class vccPause_Ctrl {
- public String EndpointWithParam = 'https://vcc-eu3.8x8.com/AGUI/controlRecording.php?action=pause&token=03de433e705addd6aac250a7ecefe422';
- Public String Method = 'POST';
- public Map<String, String> Headers = new Map<String, String>();
- public vccPause_Ctrl() {
- Headers.put ('Authorization', 'bearer 03de433e705addd6aac250a7ecefe422');
- HttpResponse res = CalloutUtil.doCallout(EndpointWithParam, Method, null, Headers);
- System.debug(res.getBody());
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement