Fixed createResource response, added contextPath to requestPath in request scope