Comment Comment by RUnconcerned There's nothing stopping an HTTP API from returning both HTML and JSON from the same endpoint. Just have the client send "text/html" or "application/json" in the Accept header, depending on what it needs. parent RUnconcerned 1 year ago