Welcome to Carmarket Mock Server
This server provides various API mocks for the Carmarket E2E tests.
Routes
| Allowed Methods | Path | Name |
|---|---|---|
| GET | /api/colors | /api/colors^GET |
| GET | /api/numbers | /api/numbers^GET |
| GET | /api/range | /api/range^GET |
| GET | /api/ping | api.ping |
| GET | / | home |
| POST | /api/demo/post | /api/demo/post^POST |
| GET | /api/demo/get/attribute/{attribute} | /api/demo/get/attribute/{attribute}^GET |
| GET | /api/demo/get | /api/demo/get^GET |
| POST | /eflex/api-ext/quoting/leasing | /eflex/api-ext/quoting/leasing^POST |
| POST | /ffu/api/lead-import-module/v1/leads | /ffu/api/lead-import-module/v1/leads^POST |
| GET | /pa-promotion/promotions/{id}/data | /pa-promotion/promotions/{id}/data^GET |
| POST | /payment-provider/paymentpage/initialize | /payment-provider/paymentpage/initialize^POST |
| POST | /payment-provider/paymentpage/assert | /payment-provider/paymentpage/assert^POST |
| GET | /payment-provider/payment | /payment-provider/payment^GET |
| POST | /pepper-shop/digital-commerce-api/auth/token | /pepper-shop/digital-commerce-api/auth/token^POST |
| POST | /pepper-shop/digital-commerce-api/products/stocks | /pepper-shop/digital-commerce-api/products/stocks^POST |
| GET | /pepper-shop/shop-api/products/ | /pepper-shop/shop-api/products/^GET |
| GET | /vehicle-profile/ext/auto-i-dat/VIN | /vehicle-profile/ext/auto-i-dat/VIN^GET |
| GET | /vehicle-profile/ext/auto-i-dat/Bewertungen+optionen | /vehicle-profile/ext/auto-i-dat/Bewertungen+optionen^GET |
Components
Containers
Mezzio promotes and advocates the usage of Dependency Injection/Inversion of Control containers when writing your applications. Mezzio supports multiple containers which typehints against PSR Container.
Get started with Laminas Servicemanager.
Routers
One fundamental feature of mezzio is that it provides mechanisms for implementing dynamic routing, a feature required in most modern web applications. Mezzio ships with multiple adapters.
Get started with FastRoute.
Templating
By default, no middleware in Mezzio is templated. We do not even provide a default templating engine, as the choice of templating engine is often very specific to the project and/or organization. However, Mezzio does provide abstraction for templating, which allows you to write middleware that is engine-agnostic.
Get started with Plates.