Change examples to use the new Response object
Changed the singuture of the request function to support array datas