creates body data hashmap for POST requests