Pass response directly from Gist

While the fiddle might use Ajax requests jsFiddle will read them and send using the right MIME type.


It is important to have gist responses prepared for jsFiddle.

Gist files

  • fiddle.response.html
  • fiddle.response.json
  • fiddle.response.xml

Run in jsFiddle

URL: /gh/get/response.{extension}/{gist_id}/ where:

Id of the gist (url without “”)
the file extension of the fiddle.response.{extension} in gist


There is no JSONP functionality provided. One may achieve it using raw gist URL.


Content of the will be returned with text/html MIME type if this url will be loaded using Ajax request.

Here it is working within the jsFiddle

Table Of Contents

Previous topic

Pass response directly from GitHub Repository

Next topic

Debugging remote resources

This Page