sendAsync promise return nulls upon creation #112
Labels
area:serialization
Focused on functional modules of the product
type:question
An issue that's a question
When using the GuzzleRequestAdapter in the Microsoft Graph SDK, certain API calls (such as creating a team) return an empty result.
The problem is that the current implementation of sendAsync returns null for empty responses, even thought there may be important information in the headers.
So, in my opinioin, it should either return the raw response in those cases to allow us to read the headers when using the sdk, or either, attempt to build a valid response object from the response headers if the body is empty (at least, if the response code is 201 - Created).
The text was updated successfully, but these errors were encountered: