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?

Cupid Chakma 1 year 2021-08-23T12:00:29-05:00 0 Answers 0 views 0

Leave an answer