using restsharp for rest client