I am trying to write callout to connect congacomposer, didn't get any error but it showing url not specified properly in debug logs.
The same url I used in generate button click. it is worked. please advice me. From one youtube link I got this link. https://composer.congamerge.com?serverUrl={!API.Partner_Server_URL_370}&id={!EDMAForm__c.Id}
EDMAForm is our custom object.
Http http = new Http();
HttpRequest req = new HttpRequest();
req.setEndpoint('https://composer.congamerge.com?serverUrl={!API.Partner_Server_URL_370}&id={!EDMAForm__c.Id} '+id);
req.setMethod('GET');
HttpResponse res = http.send(req);
String strresp='';
System.debug('response <<<<<<<<<<'+res.getStatusCode());
System.debug('response<<<<<<<<<<'+res.getBody());