Bug fixing: changing data to body to retrieve request data in requests lib