Ignore:
Timestamp:
01/05/21 03:45:09 (4 years ago)
Author:
Vzdra <vladko.zdravkovski@…>
Branches:
master
Children:
a222a43
Parents:
f36822a
Message:

added test login

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/it/finki/tinki/controller/TestController.java

    rf36822a r3f5bf9e  
    99
    1010@RestController
     11@CrossOrigin(origins = "http://localhost:3000")
    1112@RequestMapping("/api")
    1213public class TestController {
     
    2021    @PostMapping(path = "/login")
    2122    public AuthResponseDataPojo testPage(@RequestBody AccountLoginDataPojo body) throws ResponseStatusException {
     23
     24        System.out.println(body);
     25
    2226        Account a1 = accountService.findUser(body.getAccount(), body.getPassword(), body.getType());
    2327        AuthResponseDataPojo resp = new AuthResponseDataPojo();
Note: See TracChangeset for help on using the changeset viewer.