Making a RESTful call to Commision Junction

I am working on application in which I need the affilators interaction.
I went through the commission junction which provide us the RESTful API
and send the response. I have the URL”. I have to do a
call this URL.
My problem is How should I do the REST call to this URL so that I can
store the response in a variable?