Add makeRequest function in apiClient.js
WIP error handling