Fixed response data is nil after post request. (Thanks to @fabiormoura)