How to get POST json from headers not from Url Parm

Hello iam using a white list function that respond with the same message that has been send
i do not want the data send by the Url param because of the size limitation

How to get POST json from headers or raw not from Url Parm

iam using postman for testing

import json
import requests
def create_order():
data = request.params['data']
if not data:
	return "send data" 
	return json.loads(data)

Check frappe.local.form_dict


Thank you for your help :slight_smile:
it worked perfectly