Add POST handling and body params parsing