Rest api working app.config