title: PUT/GET with Payload using Restangular
body: <p>I am using Restangular in one of my works</p>
  
  <p>The server guys have give me the following calls which i need to integrate on the AngularJS client </p>
  
  <ol>
  <li><p>PUT api/partners/password – RequestPayload[{password,confirmpassword}]
  partner id is being sent in the header </p></li>
  <li><p>GET api/partners/password/forgot/ - Request Payload [{emailaddress}]
  partner id is being sent in the header</p></li>
  </ol>
  
  <p>The javascript code that I have written to call these services is as follow</p>
  
  <ol>
  <li>Restangular.all('Partners').one('Password').put(params); - sends params as query string</li>
  <li>Restangular.all('Partners').one('Password').one('Forgot').get(params); - sends object in the url</li>
  </ol>
  
  <p>I have tried other ways but it simply doesn't make the correct call.</p>
  
  <p>Help me out guys!</p>