MealsOrderingApplication
  1. Customer
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. Customer

Add

POST
/api/Customers/

Request

Body Params application/json
object {0}
Example
{
    // "FirstName": "customer3",
    // "LastName": "customer3",
    // "Email": "customer3@test.com",
    // "Username": "customer3",
    // "Password": "P@ssw0rd",
    // "ConfirmPassword": "P@ssw0rd",
    // "PhoneNumber": "01234567891",
    // "Location": "Cairo"
}

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 POST 'http://127.0.0.1:5051/api/Customers/' \
--header 'Content-Type: application/json' \
--data-raw '{
    // "FirstName": "customer3",
    // "LastName": "customer3",
    // "Email": "customer3@test.com",
    // "Username": "customer3",
    // "Password": "P@ssw0rd",
    // "ConfirmPassword": "P@ssw0rd",
    // "PhoneNumber": "01234567891",
    // "Location": "Cairo"
}'

Responses

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