1. proyek cpmapp
PBS-23E
  • proyek cpmapp
    • register customer
      POST
    • login customer
      POST
    • login admin
      POST
    • admin update data wisata
      PATCH
    • TEST DATA WISATA ADMIN
      GET
    • UPDATE DATA
      PUT
    • hapus data booking untuk admin dan customer
      DELETE
    • booking akun untuk customer
      POST
    • admin buat data wisata
      POST
    • admin konfirmasi booking customer sesuai ID
      PATCH
    • customer uplode review
      POST
    • semua review tampil admin/customer
      GET
    • admin lihat data booking
      GET
    • admin hapus data wisata sesuai ID
      DELETE
  1. proyek cpmapp

register customer

Developing
POST
http://localhost:3000/auth/register

Request

Body Params application/jsonRequired

Examples

Responses

🟢200Success
application/json
Bodyapplication/json

Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'http://localhost:3000/auth/register' \
--header 'Content-Type: application/json' \
--data '{
  "username": "kiana kaslana",
  "password": "exsa",
  "nama": "exsa agdi"
}'
Response Response Example
{}
Next
login customer
Built with