Appending the '/api' in the request url