MealsOrderingApplication
  1. Category
MealsOrderingApplication
  • Category
    • GetAll
      GET
    • Add
      POST
    • GetById
      GET
    • Update
      PUT
    • Delete
      DELETE
  • Meal
    • GetAll
      GET
    • Add
      POST
    • GetById
      GET
    • Update
      PUT
    • Delete
      DELETE
  • Drink
    • GetAll
      GET
    • Add
      POST
    • GetById
      GET
    • Update
      PUT
    • Delete
      DELETE
  • Auth
    • Register
      POST
    • Login
      POST
  • Customer
    • GetAll
      GET
    • Add
      POST
    • GetById
      GET
    • Update
      PUT
    • Delete
      DELETE
  • Admin
    • GetAll
      GET
    • Add
      POST
    • GetById
      GET
    • Update
      PUT
    • Delete
      DELETE
  • Driver
    • GetAll
    • Add
    • GetById
    • Update
    • Delete
  • Order
    • GetAll
    • Add
    • GetById
    • Update
    • Delete
  • Review
    • GetAll
    • Add
    • GetById
    • Update
    • Delete
  1. Category

Update

PUT
/api/Categories/4

Request

Body Params application/json
object {0}
Example
{
    // "Name": "Category 4",
    // "Description": "Description of Category 4..."
}

Request 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 'http://127.0.0.1:5051/api/Categories/4' \
--header 'Content-Type: application/json' \
--data-raw '{
    // "Name": "Category 4",
    // "Description": "Description of Category 4..."
}'

Responses

🟢200Success
application/json
Body
object {0}
Example
{}
Modified at 2024-04-27 19:29:51
Previous
GetById
Next
Delete
Built with