ERPNext.com Frappe Cloud Support Partners Foundation Frappe School

POST request's Data is missing

I’m trying to send a POST request with some data but the data never reaches the function.

@frappe.whitelist()
def test(data):
    return data