Activity 34: Test API in POSTMAN
Create a new collection

Click the “plus” icon to the left side of postman
For this activity, I will create five collections

Add request by clicking the three dots beside the collection name

Choose add “request”
You can choose what kind request you will add

Enter the resource link in the input bar and click send

COLLECTIONS AND EXAMPLE OF THEIR REQUESTS
user
create_user
url: https://testsvfcb.pythonanywhere.com/users/

update_user
url: https://testsvfcb.pythonanywhere.com/users/0c6efb2c-9b86-4a4e-a127-8ae4b283b101

delete_user
url: https://testsvfcb.pythonanywhere.com/users/55acd014-8cc1-42d1-a6bc-92a9a41073a6

get_user_by_id
url:https://testsvfcb.pythonanywhere.com/users/55acd014-8cc1-42d1-a6bc-92a9a41073a6

get_all_users
url: https://testsvfcb.pythonanywhere.com/users

restaurant_category
add_restaurant_category
url:https://testsvfcb.pythonanywhere.com/restaurant-category

update_restaurant_category
url:https://testsvfcb.pythonanywhere.com/restaurant-category/774f06d4-9af0-4738-b737-c589b8c3753

delete_restaurant_category
url:https://testsvfcb.pythonanywhere.com/restaurant-category/493eadd7-3d0d-449f-9299-d2ff2e46b9bf

get_restaurant_category_by_id
url:https://testsvfcb.pythonanywhere.comm/restaurant-category/774f06d4-9af0-4738-b737-c589b8c37531

get_all_restaurant_category
url:https://testsvfcb.pythonanywhere.com/restaurant-category

restaurant
add_restaurant
url:https://testsvfcb.pythonanywhere.com/restaurant

update_restaurant
url:https://testsvfcb.pythonanywhere.com/restaurant/774f06d4-9af0-4738-b737-c589b8c37531

delete_restaurant_category
url:https://testsvfcb.pythonanywhere.com/restaurant/493eadd7-3d0d-449f-9299-d2ff2e46b9bf

get_restaurant_by_id
url:https://testsvfcb.pythonanywhere.com/restaurant/5c4acb34-6e1c-49df-b968-34b7957c370f

get_all_restaurant
url:https://testsvfcb.pythonanywhere.com/restaurant

menu_category
add_menu_category
url:https://testsvfcb.pythonanywhere.com/menu-category

update_restaurant_category
url:https://testsvfcb.pythonanywhere.com/restaurant-category/774f06d4-9af0-4738-b737-c589b8c37531

delete_restaurant_category
url:https://testsvfcb.pythonanywhere.com/menu-category/493eadd7-3d0d-449f-9299-d2ff2e46b9bf

get_restaurant_category_by_id
url:https://testsvfcb.pythonanywhere.com/menu-category/774f06d4-9af0-4738-b737-c589b8c3753

get_all_menu_category
url:https://testsvfcb.pythonanywhere.com/menu-category

menu
menu
url:https://testsvfcb.pythonanywhere.com/menu

update_menu
url:https://testsvfcb.pythonanywhere.com/menu/774f06d4-9af0-4738-b737-c589b8c37531

delete_menu
url:https://testsvfcb.pythonanywhere.com/menu/493eadd7-3d0d-449f-9299-d2ff2e46b9bf

get_menu_by_id
url:https://testsvfcb.pythonanywhere.com/menu/5c4acb34-6e1c-49df-b968-34b7957c370f

get_all_menu
url:https://testsvfcb.pythonanywhere.com/menu

get_all_menu_by_restaurant
url:https://testsvfcb.pythonanywhere.com/menu/restaurant/d3ac9730-4d19-4e32-a519-4c1ce939ebd8
