controller: Fix getPost()-behaviour

Signed-off-by: Robin Hallabro <robin.hallabro@sveabyran.se>
pdodb: Fit attributes on one line

Signed-off-by: Robin Hallabro <robin.hallabro@sveabyran.se>