You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even though curl and wget are the gold standard for this type of utility it would be super useful if we could also use an Accept header to get alternate content versions of these code and descriptions. This would make a little more of an API that could be used with other clients not listed in your command_line_agents block https://github.com/tternes/httpcode/blob/master/web/index.php#L39.
This could open the door for a json and xml responses and then maybe could enable a html response (think embedding a html fragment into another web application)
The text was updated successfully, but these errors were encountered:
Even though curl and wget are the gold standard for this type of utility it would be super useful if we could also use an Accept header to get alternate content versions of these code and descriptions. This would make a little more of an API that could be used with other clients not listed in your command_line_agents block https://github.com/tternes/httpcode/blob/master/web/index.php#L39.
This could open the door for a json and xml responses and then maybe could enable a html response (think embedding a html fragment into another web application)
The text was updated successfully, but these errors were encountered: