Add cURL to the Bash users list in README.md#7948
Add cURL to the Bash users list in README.md#7948iSazonov merged 2 commits intoPowerShell:masterfrom
Conversation
docs/learning-powershell/README.md
Outdated
| | find -name build* |Get-ChildItem build* -Recurse |Find a file or folder starting with 'build' | ||
| | grep -Rin "sometext" --include="*.cs" |Get-ChildItem -Recurse -Filter *.cs <br> \| Select-String -Pattern "sometext" | Recursively case-insensitive search for text in files | ||
|
|
||
| | curl dominio.com | Invoke-WebRequest dominio.com | Transfer data from or to a web from differentes protocols |
There was a problem hiding this comment.
Maybe Transfer data from web?
There was a problem hiding this comment.
I think Invoke-RestMethod is more similar to curl than Invoke-WebRequest. Also, the example does work with curl and it's better to use a more generic URL:
curl https://github.com
Invoke-RestMethod https://github.com
For the description, maybe: Transfer data to or from the web
There was a problem hiding this comment.
Ok, I'll make the changes.
docs/learning-powershell/README.md
Outdated
| | find -name build* |Get-ChildItem build* -Recurse |Find a file or folder starting with 'build' | ||
| | grep -Rin "sometext" --include="*.cs" |Get-ChildItem -Recurse -Filter *.cs <br> \| Select-String -Pattern "sometext" | Recursively case-insensitive search for text in files | ||
|
|
||
| | curl dominio.com | Invoke-WebRequest dominio.com | Transfer data from or to a web from differentes protocols |
There was a problem hiding this comment.
I think Invoke-RestMethod is more similar to curl than Invoke-WebRequest. Also, the example does work with curl and it's better to use a more generic URL:
curl https://github.com
Invoke-RestMethod https://github.com
For the description, maybe: Transfer data to or from the web
|
@vmsilvamolina Thanks for your contribution! |
PR Summary
add the cURL example on the Bash users list
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright headerWIP:to the beginning of the title and remove the prefix when the PR is ready.[feature]if the change is significant or affects feature tests