submitting midterm homework

Hi Shirren - submitted my homework. 

The interpolation in the RestClient method does not seem to be working, despite several attempts to pull it apart. I am not sure where i am going wrong. I have also set out my logic in comments below each line so you can follow my thinking. Grateful if you can take a look and let me know.

thanks
Bijal