https://github.com/nafiesl/dummy-service
A lumen project for testing dummy service (error) responses.
https://github.com/nafiesl/dummy-service
Last synced: 4 months ago
JSON representation
A lumen project for testing dummy service (error) responses.
- Host: GitHub
- URL: https://github.com/nafiesl/dummy-service
- Owner: nafiesl
- Created: 2020-05-04T04:31:05.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-02-22T15:03:21.000Z (8 months ago)
- Last Synced: 2025-06-01T17:17:44.134Z (5 months ago)
- Language: PHP
- Size: 238 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dummy Lumen PHP Framework
A lumen service for dummy service to test error responses on localhost.
## How to Use
1. Clone this repo
2. `$ composer install --no-dev`
3. Start php server: `$ php -S localhost:8000 -t public`## Usage Example
```
curl -X POST 'http://localhost:8000/tags/object/contacts/999'
```
Response
```
{
"post": 504
}
```
```
Status: 504Gateway Timeout
Time: 57 ms
Size: 282 B
```Play around with routes on `routes/web.php` for any response we need.