Site icon Hip-Hop Website Design and Development

Modifying The Payload Of The WordPress Rest Api Url

I am looking for a way where I can modify the body of the default Rest API Endpoint
"wp/v2/posts". Like, insert new data inside this endpoint and send it again for processing inside the same endpoint "wp/v2/posts". After Inserting the data, the same endpoint should contain the new data along with the default datas. Is this possible?