Closed
Description
I am new to using remote-input-element
and am trying to figure out a way to properly handle unexpected HTTP responses.
It looks like this component will always replace the target container with the HTTP response body, however if the server responds with an unexpected response e.g. HTTP 500 or 502 with a Full HTML page instead of a fragment to display, then the output does not look very desirable.
https://user-images.githubusercontent.com/236297/61644279-6a3ad300-ac72-11e9-905c-0295859be893.png
What would be the best way to handle scenarios like this?
Metadata
Metadata
Assignees
Labels
No labels