change 'api.sample.com' to 'api.example.com'