Document multipart/form-data support for 6.0 Web Cmdlets - #1656
Merged
juanpablojofre merged 1 commit intoSep 15, 2017
Conversation
Contributor
✅ Validation status: passed
For more details, please refer to the build report. Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report. |
Contributor
|
Thanks Mark !! @markekraus |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
closes #1650
Support for
MultipartFormDataConentobjects submitted to the-Bodyparameter ofInvoke-WebRequestandInvoke-RestMethodwas added in PowerShell/PowerShell#4782. This documents the new feature as well as its impact on the-Headers,-ContentType, and-WebSessionparameters.An example was added to
Invoke-WebRequest, but notInvoke-RestMethodbecause most use-cases for this feature will return HTML and not an objet parsable byInvoke-RestMethod.There were also some minor formatting issues with the
Invoke-WebRequestdocument that was resulting in a large portion of the document to be treated as a code block. This appears to only affect the 6.0 version of the document.Version(s) of document impacted
Reason(s) for not updating all version of documents