No reason to deserialize the response on the IRestReponse to the type of T and then return it by deserializing the content. It actually causes an issue where status code will be OK but the IsSuccessful will be false.
Purpose
[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Checklist
[ ] I have added tests to prove that what I have fixed or added does indeed work
Description
No reason to deserialize the response on the IRestReponse to the type of T and then return it by deserializing the content. It actually causes an issue where status code will be OK but the IsSuccessful will be false.
Purpose
Checklist