https://github.com/vanng822/javalinist
Trying out javalin
https://github.com/vanng822/javalinist
Last synced: about 2 months ago
JSON representation
Trying out javalin
- Host: GitHub
- URL: https://github.com/vanng822/javalinist
- Owner: vanng822
- Created: 2020-03-18T19:22:24.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-09T14:34:31.000Z (about 5 years ago)
- Last Synced: 2025-01-18T05:27:39.301Z (3 months ago)
- Language: Kotlin
- Size: 156 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# javalinist
Trying out javalin. Running demo at http://javalinist.isgoodness.com/# Server-sent events, sse
Go [here](/sse) and try to create, update or delete operation bellow to see.# Try with swagger ui
[Go to swagger ui](/swagger)
# Operation on /users using curl
## Create user
```bash
curl -X POST 'http://javalinist.isgoodness.com/users?name=Javalin'
```
## Get user
```bash
curl -X GET 'http://javalinist.isgoodness.com/users/{userId}'
```
## Update user
```bash
curl -X PATCH 'http://javalinist.isgoodness.com/users/{userId}?name=Javalinist'
```
## Delete user
```bash
curl -X DELETE 'http://javalinist.isgoodness.com/users/{userId}'
```
## List all
```bash
curl -X GET 'http://javalinist.isgoodness.com/users'
```