Change URL on API endpoint