Added redirect for fetching resource when header is 201