I am creating a mobile app for a wordpress solution, while studying wordpress rest api, I have found a problem with the way the json schema is rendered;
while /wp-json/wp/v2/posts displays all posts but it is in this format
"title": {
"rendered": "testing rest api & #8220;tesint-restAP& #8221;"
},
How to extract the actual content from response.data.content because it came as html version with tags and such ???.
Tip for .NET Developers
When using http://restsharp.org/ in .NET to call the API, no parsing was required on the content.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With