Working on the REST request