Skip to content

Document multipart/form-data support for 6.0 Web Cmdlets - #1656

Merged
juanpablojofre merged 1 commit into
MicrosoftDocs:stagingfrom
markekraus:WebCmdletsMultipart
Sep 15, 2017
Merged

Document multipart/form-data support for 6.0 Web Cmdlets#1656
juanpablojofre merged 1 commit into
MicrosoftDocs:stagingfrom
markekraus:WebCmdletsMultipart

Conversation

@markekraus

Copy link
Copy Markdown
Contributor

closes #1650

Support for MultipartFormDataConent objects submitted to the -Body parameter of Invoke-WebRequest and Invoke-RestMethod was added in PowerShell/PowerShell#4782. This documents the new feature as well as its impact on the -Headers, -ContentType, and -WebSession parameters.

An example was added to Invoke-WebRequest, but not Invoke-RestMethod because most use-cases for this feature will return HTML and not an objet parsable by Invoke-RestMethod.

There were also some minor formatting issues with the Invoke-WebRequest document 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

  • Impacts 6 document
  • Impacts 5.1 document
  • Impacts 5.0 document
  • Impacts 4.0 document
  • Impacts 3.0 document

Reason(s) for not updating all version of documents

  • The documented feature was introduced in version 6.0 of PowerShell
  • This issue only shows up in version (list version(s) here) of the document
  • This PR partially fixes the issue, and issue # tracks the remaining work

@saldana

saldana commented Sep 14, 2017

Copy link
Copy Markdown
Contributor

✅ Validation status: passed

File Status Preview URL Details
reference/6/Microsoft.PowerShell.Utility/Invoke-RestMethod.md ✅Succeeded
reference/6/Microsoft.PowerShell.Utility/Invoke-WebRequest.md ✅Succeeded

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.

@juanpablojofre

Copy link
Copy Markdown
Contributor

Thanks Mark !! @markekraus

@juanpablojofre
juanpablojofre merged commit e5b355f into MicrosoftDocs:staging Sep 15, 2017
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.

Multipart Support is added to Web Cmdlets and corresponding doc needs to be updated

4 participants