Skip to content

Instantly share code, notes, and snippets.

@Me1000
Created April 30, 2010 05:55
Show Gist options
  • Select an option

  • Save Me1000/384817 to your computer and use it in GitHub Desktop.

Select an option

Save Me1000/384817 to your computer and use it in GitHub Desktop.
//require("request.js");
exports.app = function(env) {
var text = "Hello world!";
var myRequest = new Jack.Request();
return {
status : 200,
headers : { "Content-Type" : "text/plain", "Content-Length" : String(text.length) },
body : [text]
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment