Fix for POST actions

Added headers to POST and stringify the body.