qxf2 / cars-api

A sample REST application to help testers learn to write API automation
MIT License
6 stars 20 forks source link

Mismatch in code and descriptions #14

Open drishyatm opened 4 years ago

drishyatm commented 4 years ago

File : cars-api/templates/index.html

Heading API endpoints and examples, section 1, Get subsection c c) /cars/filter/<%car_type%> : Get the list of users

This is to get the cars list filter with cartype , not the list of users. ![URL 35 section c filter](https://user-images.githubusercontent.com/66368262/91522937-0aa10380-e919-11ea-84de-ab9d43bd65d1.png)

Section 3 , Put a) /cars/update/<%name%>: Add new cars This is to update the car, however, the description says add a new car. Code also shows it as example as post, not put.

error in put request

Section 4 , Delete

a) /cars/remove/<%name%>: Add new cars

Description says it as Add new cars, however it should be remove car.