sedovalx / oauth2-tester

Small application to test responses from different OAuth 2.0 API endpoints
0 stars 0 forks source link

Styling for the request/response block #17

Closed sedovalx closed 8 years ago

sedovalx commented 8 years ago

Now it is a JSON in the <pre> tag. But it should be possible to create a markup for Request:

Response:

Error:

sedovalx commented 8 years ago

Should support three types of the body content:

The type could be detected via Content-Type header.

sedovalx commented 8 years ago

Just one simple style for all for now. Possibly it won't be hard to attach something like google/code-prettify or hightlight.js