https://github.com/vanng822/javalinist
Trying out javalin
https://github.com/vanng822/javalinist
Last synced: 22 days ago
JSON representation
Trying out javalin
- Host: GitHub
- URL: https://github.com/vanng822/javalinist
- Owner: vanng822
- Created: 2020-03-18T19:22:24.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-09T14:34:31.000Z (about 6 years ago)
- Last Synced: 2025-12-20T00:15:10.296Z (6 months ago)
- Language: Kotlin
- Size: 156 KB
- Stars: 0
- Watchers: 1
- 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'
```