Send data in JSON format, specifying the appropriate content-type header
Invoke-WebRequest
Invoke-WebRequest -Body {{'{"name":"bob"}'}} -ContentType 'application/json' {{http://example.com/users/1234}}
Invoke-WebRequest
Invoke-WebRequest -Body {{'{"name":"bob"}'}} -ContentType 'application/json' {{http://example.com/users/1234}}