Skip to content

Kotlin Spring WebFlux Annotation-Based RestAPIs with SpringBoot 2

Notifications You must be signed in to change notification settings

hendisantika/kotlin-spring-webflux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kotlin Spring Webflux

Example using Kotlin Spring Webflux

run this repo.

Copy this to your terminal :

mvn clean spring-boot:run

– Make a GET all customer request: http://localhost:8080/api/customer

curl http://localhost:8080/api/customer

Get All Customer

– Make a GET customer request: http://localhost:8080/api/customer/1

curl http://localhost:8080/api/customer/1

Get Customer by Id

– Make a POST request: http://localhost:8080/api/customer/post

Post Customer

– Make a PUT request: http://localhost:8080/api/customer/put/3

Update Customer

– Make a DELETE request: http://localhost:8080/api/customer/delete/1

– Make a GET all customers request again: http://localhost:8080/api/customer Get All Customer

About

Kotlin Spring WebFlux Annotation-Based RestAPIs with SpringBoot 2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages