UglifyJS compression can be used as an HTTP service by
GET request to this
URL, with any of the parameters listed below either embedded in
the URL, or in an
request body. The response body will contain the compressed code
in case of a successful request, or an error message when
returning an error HTTP status code.
https:protocols are supported. Invalid or errorring URLs will be ignored. This parameter can be given multiple times to concatenate the scripts at those locations together.
code_urlcan be given, in which case the code passed in
js_codewill end up after the code from URLs.
Content-Dispositionheader to the response, which causes typical browsers to download the response under the given filename.
This API is loosely based on Google's Closure API, and should be compatible for simple uses.
If you are planning to use this for something that might generate a lot of traffic, please discuss with me first, since my server isn't very heavy.