mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-03 17:55:14 +00:00
Update cheatsheets
This commit is contained in:
@@ -23,7 +23,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Send data in JSON format, specifying the appropriate content-type header:
|
||||
|
||||
`Invoke-WebRequest -Body {{'{"name":"bob"}'}} -ContentType 'application/json' {{http://example.com/users/1234}}`
|
||||
`Invoke-WebRequest -Body '{{{"name":"bob"}}}' -ContentType 'application/json' {{http://example.com/users/1234}}`
|
||||
|
||||
- Pass a username and password for server authentication:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user