Change the way requests are sent to API