Async requests
Last updated
Last updated
To improve user experience Echo features has been created. This allows to test asynchronous requests, add javascript files, create workers - all from one fiddle, so it is more transparent for the user reading the code.
Asynchronous requests are split to HTML, JSON, JSONP and XML. and responses are similar to the echo feature and go nicely in pair with storing fiddles in and .
URL: /echo/html/
Option key
Description
html
Data has to be provided via POST
delay
(Optional) It’s a time in seconds after which data should be returned
URL: /echo/json/
Option key
Descriptio
json
JSON string representing the object jsFiddle should return. It has to be valid JSON or error will be returned
delay
(Optional) It’s a time in seconds after which data should be returned
[Missing embed]
URL: https://jsfiddle.net/echo/jsonp/
Option key
Description
callback
name of the jsonp function
delay
(Optional) It’s a time in seconds after which data should be returned
[Missing embed]
URL: /echo/xml/
Option key
Description
xml
Valid string representing XML code
delay
(Optional) It’s a time in seconds after which data should be returned
[Missing embed]