title: best practice to pass two required parameters in REST GET request
body: <p>I'm designing an API and I've two required parameters that are mandatory for this action</p>
  
  <p>I've two options to pass them </p>
  
  <p>1)
  /servers/server_id/exte/device_id/agents/agent_id/live_monitoring</p>
  
  <p>Disadvantage: toooooo long</p>
  
  <p>2)
  /servers/server_id/live_monitoring?device_id=23&amp;agent_id=767</p>
  
  <p>Disadvantage: these parameters shouldn't be query parameters because they are required not optional </p>
  
  <p>Which approach should I go with?</p>