Corrected URL for restrequests typo error from javascript