Working on REST request