HTML tags in external API response

Continuing the discussion from How filter HTML tags:

(@anon78309838 btw: is there a way to re-open an automatically closed topic, if one feels he has additional contribution to it?)

@ishantanusrivastava I had a similar issue to yours with the Google translate API that returned HTML formatted text to my call.

I solved it by adding the query parameter “format” with value “text” to my call.
Possibly something similar could work in your case too ?

Hope this helps
Luca

Hi, thanks for the help but I tried but it’s not working with WordPress API

I see, too bad I’m sorry.
Possibly in the documentation of the API you’re using you may find a similar query parameter to use, even if it’s not exactly “format” like in my case… I assume you already browsed through the API documentation ?

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.