Making possible to change the API's endpoint for testing purposes