Skip to content

Conversation

@nikithauc
Copy link
Contributor

Made changes for the following issues

  1. Making a call that uses application/xhtml+xml fails #298
  2. Empty post requests from Graph Explorer fail in the SDK #293

Added a private function which checks if the header contains the 'content-type', if not sets the default 'content-type' as 'application/json'. Also, added a null check to the serializeContent function.

…checking if body is null when serializing content
…ig as true for allowing import of npm modules, adding unit test for application/xhtml+xml content type post
@MIchaelMainer MIchaelMainer merged commit 1ee7bd8 into dev Aug 14, 2020
@nikithauc nikithauc deleted the JS-Issue-293-298-Emptybody-Content-type branch August 14, 2020 21:44
@nikithauc nikithauc mentioned this pull request Oct 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants