Modifying The Payload Of The WordPress Rest Api Url

Question

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?

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

Leave an answer

Browse
Browse