Recipe - Food - Nutrition

FREEMIUM
Verified
By David | Updated 12 days ago | Food
Popularity

9.9 / 10

Latency

494ms

Service Level

100%

Health Check

N/A

Back to All Discussions

Api returns xml , need to convert to html

Rapid account: No 1 Uknow
No1uknow
8 years ago

My last ticket was not sufficiently answered so restating:

Current the json Api call returns xml. If a user hits my website and searches for a recipe I need to produce output in HTML for every browser . I want the user to have a nice experience when looking up recipes .

What is the preferred method in making this happen?

Rapid account: Mah 56 Mod 0
mah56mod0 Commented 3 years ago

http:/mah56mod0@gmail.com

Rapid account: Spoonacular
spoonacular Commented 8 years ago

Sorry but I don’t really understand your question. The API answers in JSON and some endpoints give you straight up HTML widgets. Nothing in XML. You have to parse the answers and generate your own HTML.

Join in the discussion - add comment below:

Login / Signup to post new comments