Cake 4.x rest api - React client

Is there any step by step tutorial how i set request in react axios and how i has configure cake php so request go trought cors? I has try it multiple ways but post methods never get trought.