This is a PUT request and it is used to overwrite an existing piece of data. For instance, after you create an entity with a POST request, you may want to modify that later. You can do that using a PUT request. You typically identify the entity being updated by including an identifier in the URL (eg. id=1).A successful PUT request typically returns a 200 OK, 201 Created, or 204 No Content response code.
Request
Query Params
Body Params application/json
Example
{"name":"Add your name in the body"}
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request PUT '/info?id=1' \
--header'Content-Type: application/json' \
--data'{
"name": "Add your name in the body"
}'