I have a requirement where I have to consume external REST API. I have the URL for the same and the values for the parameters to be passed to get a response XML from the service. I am not getting how to pass these parameters to the URL. I have to pass the apiKey, AccountId etc etc to get a response XML. I am pretty new to HttpCallouts so please help me in this regard.
I finally found the answer to setting the URL parameters. I set the paramaters in
I was able to finally make the call through the MockCallout by passing the method input parameter.