Fixed problem with reading POST requests