correcting POST http request