-
Notifications
You must be signed in to change notification settings - Fork 0
/
documentation.http
42 lines (23 loc) · 1.06 KB
/
documentation.http
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
-----------------------operator API's----------------------------
# this API used for createing new customer
=>http://localhost:7000/adduser
# this API used to see the only one customer with id
note:- (id:you have to put for ex:101 or autogenrated mongodb id)
=> http://localhost:7000/oneuser/:id
# this API used to see all the customer
=> http://localhost:7000/allusers
# this API used for editing the customer details with id
=> http://localhost:7000/edituser/:id
# this API used for deleteing the customer with id
=> http://localhost:7000/deleteuser/:id
-----------------------Booking API's----------------------------
# this API used for createing new booking
=>http://localhost:7000/addbooking
# this API used to see the only one booking with id
=> http://localhost:7000/onebooking/:id
# this API used to see all the booking
=> http://localhost:7000/allbooking
# this API used for editing the booking details with id
=> http://localhost:7000/editbooking/:id
# this API used for deleteing the booking with id
=> http://localhost:7000/deletebooking/:id