login as POST

This commit is contained in:
Bossanyi Tibor 2020-06-12 18:50:39 +02:00
parent 077f7e10e6
commit 3156edb057

View File

@ -86,7 +86,7 @@ class CustomerController ( private val customerRepository: CustomerRepository )
} }
@GetMapping("/login") @PostMapping("/login")
fun login(@Valid @RequestBody json: String): ResponseEntity<*> { fun login(@Valid @RequestBody json: String): ResponseEntity<*> {
val customer = Customer() val customer = Customer()