|
|
|
|
|
by nonethewiser
1038 days ago
|
|
So my apis need to return html specific to the page its called from with the data embedded? I guess my apis would need different endpoints that return json for other clients. And different endpoints for the exact same data if they need to be displayed differently? It just seems like a bad thing to couple. What about CSS? I guess you have to look at what the server returns to figure out how to select/style it. I recognize thats how templates work but for some reason it seems weirder when applied to the element, rather than page level. |
|