An open API service indexing awesome lists of open source software.

https://github.com/sudo-self/html-json


https://github.com/sudo-self/html-json

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# http request/200ok.


## json-html.deno.dev/JSON

add /json endpoint
https://json-html.deno.dev/json{"message":"Hello from Deno Deploy"}
```sh
# Response:
# HTTP/2 200
# content-type: application/json; charset=UTF-8
# content-length: 36
# date: Tue, 09 Mar 2021 15:11:57 GMT
# server: denosr
# x-dsr-id: asia-southeast1-a::runner-l4hc
# {"message":"Hello from Deno Deploy"}
```

## json-html.deno.dev /HTML

add /html endpoint
https://json-html.deno.dev/htmlMessage: Hello from Deno Deploy.
```sh
# Response:
# HTTP/2 200
# content-type: text/html; charset=UTF-8
# content-length: 73
# date: Tue, 09 Mar 2021 15:15:56 GMT
# server: denosr
# x-dsr-id: asia-southeast1-a::runner-l4hc
#
#

Message: Hello from Deno Deploy.


#
```
[/JSON /HTML](https://json-html.deno.dev)