Fix when passing content body

1. Use raw encoded request body for POST request body setting and not a parameters array

2. Pass content type fields as well