login as POST
This commit is contained in:
parent
077f7e10e6
commit
3156edb057
@ -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()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user