Skip to content

Js issue 293 298 emptybody content type - #309

Merged
Michael Mainer (MIchaelMainer) merged 13 commits into
devfrom
JS-Issue-293-298-Emptybody-Content-type
Aug 14, 2020
Merged

Js issue 293 298 emptybody content type#309
Michael Mainer (MIchaelMainer) merged 13 commits into
devfrom
JS-Issue-293-298-Emptybody-Content-type

Conversation

@nikithauc

Copy link
Copy Markdown
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
Comment thread spec/development/workload/OneNote.ts Outdated
Comment thread src/GraphRequest.ts Outdated
Comment thread src/GraphRequest.ts
Comment thread src/GraphRequest.ts
Comment thread src/GraphRequestUtil.ts
Comment thread src/GraphRequest.ts Outdated
Comment thread package-lock.json Outdated
Comment thread src/GraphRequest.ts Outdated
Comment thread src/GraphRequest.ts Outdated
Comment thread tsconfig-es.json Outdated
@nikithauc
Nikitha Chettiar (nikithauc) deleted the JS-Issue-293-298-Emptybody-Content-type branch August 14, 2020 21:44
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.

4 participants