Configure headers properly for POST requests