Readme
If you only want to get the source of a val, you should use https://esm.town/ instead.
curl https://pomdtr-cdn.web.val.run/<author>/<name>.<extension>[?v=<version>]
To see the code of this val, use https://pomdtr-cdn.web.val.run/pomdtr/cdn.ts
$ curl https://pomdtr-cdn.web.val.run/pomdtr/add.tsx
You can also use js
, jsx
and ts
extension (only the content-type change, there is no transpilation).
Pass an api token as an username
$ curl "https://<token>@pomdtr-cdn.web.val.run/pomdtr/privateVal.ts"
$ curl https://pomdtr-cdn.web.val.run/pomdtr/add.md
$ curl https://pomdtr-cdn.web.val.run/pomdtr/add.png
$ curl https://pomdtr-cdn.web.val.run/pomdtr/cdn.ts?v=66
You need to be authenticated to use this method.
$ curl https://pomdtr-cdn.web.val.run/pomdtr/add.json
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
Nobody has commented on this val yet: be the first!
pomdtr-cdn.web.val.run
Updated: March 20, 2024