Edit in JSFiddle

// ---- HERE IS A SCRIPT THAT USED FOR QUERIES CHECKING ----

//download.js v4.2, by dandavis; 2008-2016. [CCBY2] see http://danml.com/download.html for tests/usage
// v1 landed a FF+Chrome compat way of downloading strings to local un-named files, upgraded to use a hidden frame and optional mime
// v2 added named files via a[download], msSaveBlob, IE (10+) support, and window.URL support for larger+faster saves than dataURLs
// v3 added dataURL and Blob Input, bind-toggle arity, and legacy dataURL fallback was improved with force-download mime and base64 support. 3.1 improved safari handling.
// v4 adds AMD/UMD, commonJS, and plain browser support
// v4.1 adds url download capability via solo URL argument (same domain/CORS only)
// v4.2 adds semantic variable names, long (over 2MB) dataURL support, and hidden by default temp anchors
// https://github.com/rndme/download

(function (root, factory) {
	if (typeof define === 'function' && define.amd) {
		// AMD. Register as an anonymous module.
		define([], factory);
	} else if (typeof exports === 'object') {
		// Node. Does not work with strict CommonJS, but
		// only CommonJS-like environments that support module.exports,
		// like Node.
		module.exports = factory();
	} else {
		// Browser globals (root is window)
		root.download = factory();
  }
}(this, function () {

	return function download(data, strFileName, strMimeType) {

		var self = window, // this script is only for browsers anyway...
			defaultMime = "application/octet-stream", // this default mime also triggers iframe downloads
			mimeType = strMimeType || defaultMime,
			payload = data,
			url = !strFileName && !strMimeType && payload,
			anchor = document.createElement("a"),
			toString = function(a){return String(a);},
			myBlob = (self.Blob || self.MozBlob || self.WebKitBlob || toString),
			fileName = strFileName || "download",
			blob,
			reader;
			myBlob= myBlob.call ? myBlob.bind(self) : Blob ;
	  
		if(String(this)==="true"){ //reverse arguments, allowing download.bind(true, "text/xml", "export.xml") to act as a callback
			payload=[payload, mimeType];
			mimeType=payload[0];
			payload=payload[1];
		}


		if(url && url.length< 2048){ // if no filename and no mime, assume a url was passed as the only argument
			fileName = url.split("/").pop().split("?")[0];
			anchor.href = url; // assign href prop to temp anchor
		  	if(anchor.href.indexOf(url) !== -1){ // if the browser determines that it's a potentially valid url path:
        		var ajax=new XMLHttpRequest();
        		ajax.open( "GET", url, true);
        		ajax.responseType = 'blob';
        		ajax.onload= function(e){ 
				  download(e.target.response, fileName, defaultMime);
				};
        		setTimeout(function(){ ajax.send();}, 0); // allows setting custom ajax headers using the return:
			    return ajax;
			} // end if valid url?
		} // end if url?


		//go ahead and download dataURLs right away
		if(/^data\:[\w+\-]+\/[\w+\-]+[,;]/.test(payload)){
		
			if(payload.length > (1024*1024*1.999) && myBlob !== toString ){
				payload=dataUrlToBlob(payload);
				mimeType=payload.type || defaultMime;
			}else{			
				return navigator.msSaveBlob ?  // IE10 can't do a[download], only Blobs:
					navigator.msSaveBlob(dataUrlToBlob(payload), fileName) :
					saver(payload) ; // everyone else can save dataURLs un-processed
			}
			
		}//end if dataURL passed?

		blob = payload instanceof myBlob ?
			payload :
			new myBlob([payload], {type: mimeType}) ;


		function dataUrlToBlob(strUrl) {
			var parts= strUrl.split(/[:;,]/),
			type= parts[1],
			decoder= parts[2] == "base64" ? atob : decodeURIComponent,
			binData= decoder( parts.pop() ),
			mx= binData.length,
			i= 0,
			uiArr= new Uint8Array(mx);

			for(i;i<mx;++i) uiArr[i]= binData.charCodeAt(i);

			return new myBlob([uiArr], {type: type});
		 }

		function saver(url, winMode){

			if ('download' in anchor) { //html5 A[download]
				anchor.href = url;
				anchor.setAttribute("download", fileName);
				anchor.className = "download-js-link";
				anchor.innerHTML = "downloading...";
				anchor.style.display = "none";
				document.body.appendChild(anchor);
				setTimeout(function() {
					anchor.click();
					document.body.removeChild(anchor);
					if(winMode===true){setTimeout(function(){ self.URL.revokeObjectURL(anchor.href);}, 250 );}
				}, 66);
				return true;
			}

			// handle non-a[download] safari as best we can:
			if(/(Version)\/(\d+)\.(\d+)(?:\.(\d+))?.*Safari\//.test(navigator.userAgent)) {
				url=url.replace(/^data:([\w\/\-\+]+)/, defaultMime);
				if(!window.open(url)){ // popup blocked, offer direct download:
					if(confirm("Displaying New Document\n\nUse Save As... to download, then click back to return to this page.")){ location.href=url; }
				}
				return true;
			}

			//do iframe dataURL download (old ch+FF):
			var f = document.createElement("iframe");
			document.body.appendChild(f);

			if(!winMode){ // force a mime that will download:
				url="data:"+url.replace(/^data:([\w\/\-\+]+)/, defaultMime);
			}
			f.src=url;
			setTimeout(function(){ document.body.removeChild(f); }, 333);

		}//end saver




		if (navigator.msSaveBlob) { // IE10+ : (has Blob, but not a[download] or URL)
			return navigator.msSaveBlob(blob, fileName);
		}

		if(self.URL){ // simple fast and modern way using Blob and URL:
			saver(self.URL.createObjectURL(blob), true);
		}else{
			// handle non-Blob()+non-URL browsers:
			if(typeof blob === "string" || blob.constructor===toString ){
				try{
					return saver( "data:" +  mimeType   + ";base64,"  +  self.btoa(blob)  );
				}catch(y){
					return saver( "data:" +  mimeType   + "," + encodeURIComponent(blob)  );
				}
			}

			// Blob but not URL support:
			reader=new FileReader();
			reader.onload=function(e){
				saver(this.result);
			};
			reader.readAsDataURL(blob);
		}
		return true;
	}; /* end download() */
}));

// MAIN CODE
var loading = function ($) {
	return function (parent_id) {
		var parent = $('#' + parent_id);
		var progress = $('<div><div><span class="glyphicon glyphicon-refresh refresh-animate" data-role="animation"></span> <span data-role="msg">Apdorojama...</span></div></div>');
		progress.hide();
		progress.msg = function (msg) {
			$('[data-role="msg"]', progress).html(msg);
		};
		progress.start = function (msg) {
			if (msg) {
				progress.msg(msg);
			}
			progress.show();
			parent.hide();			
		};
		progress.stop = function () {
			parent.show();
			progress.hide();
		};
		parent.after(progress);
		return progress;
	};
};

var app = function ($, loading, Autolinker, highlightJS, download) {
    var loader = loading("api_form");

    // Params table
    var lib = {
        helpers: {
            highlight: function (obj) {
                hljs.highlightBlock(obj);
            },
            makeLinks: function () {
                $('.full-post code').each(function () {
                    var obj = $(this);
                    obj.html(
                            Autolinker.link(
                                    obj.html(),
                                    {
                                        replaceFn: function (autolinker, match) {
                                            var href = match.getAnchorHref();
                                            if (match.getType() == 'url' && href.substr(href.length - 1, 1) == "'")
                                            {
                                                return '<a href="' + href.substr(0, href.length - 1) + '" target="_blank">' + match.getAnchorText() + '</a>' + "'";
                                            } else {
                                                return true;
                                            }
                                        }
                                    }
                            )
                            );
                });
            }
        },
        global: {
            defaultData: {
                server: {
                    url: '',
                    request: {
                        type: 'post',
                        ext: '',
                        format: 'default',
                        http_version: 'auto'
                    },
                    result: {
                        type: 'json'
                    },
                    cookies: {
                        save: 'no'
                    }
                },
                params: []
            },
            getRow: function (self) {
                return $(self).closest('.block');
            },			
            convert: {
				objToArray: function (obj) {
					if ($.isArray(obj)) 
						return obj;
					var tr = [];
					for(var k in obj) {
						tr.push(obj[k]);
					}
					return tr;
				},
                from: {
                    '0.1': function (ret) {
                        var tmpRet = {
                            server: {
                                url: ret.server_url,
                                request: {
                                    type: ret.server_request_type,
                                    ext: ret.server_request_ext,
									http_version: ret.server_request_http_version,
									format: ret.server_request_format
                                },
                                result: {
                                    type: ret.server_result_type
                                },
                                cookies: {
                                    save: ret.save_cookies
                                }
                            },
                            params: []
                        };

						ret.param_name = lib.global.convert.objToArray(ret.param_name);
						ret.param_type = lib.global.convert.objToArray(ret.param_type);
						ret.param_value = lib.global.convert.objToArray(ret.param_value);
						
                        for (var i = 0; i < ret.param_name.length; i++) {
                            tmpRet.params.push({
                                name: ret.param_name[i],
                                type: ret.param_type[i],
                                value: ret.param_value[i]
                            });
                        }
						return tmpRet;
                    }
                }
            },
			getFileName: function (form) {
				return $("[name=server_url]").first().val().replace(/.*?:\/\//g, "") + '(' + $("[name=server_request_type]").first().val() + ';' + $("[name=server_result_type]").first().val() + ').json';
			},
			saveToString: function (form) {
                var ret = {
                    server: {
                        url: $("[name=server_url]").first().val(),
                        request: {
                            type: $("[name=server_request_type]").first().val(),
                            ext: $("[name=server_request_ext]").first().val(),
                            format: $("[name=server_request_format]").first().val(),
                            http_version: $("[name=server_request_http_version]").first().val(),
                        },
                        result: {
                            type: $("[name=server_result_type]").first().val(),
                        },
                        cookies: {
                            save: $("#save_cookie_yes").first().attr("checked") ? true : false
                        }
                    },
                    params: []
                };
                $(".params_table .block").each(function () {
                    var tr = $(this);
                    ret.params.push({
                        name: $(".param_name_changer", tr).val(),
                        type: $(".param_type_changer", tr).val(),
                        value: $(".param_value_changer", tr).val()
                    });
                });
                return window.JSON.stringify(ret);
			},
			getFieldTypes: function () {
				var ret = [];
				$('.params_table .block:first-child [name="param_type"] option').each(function () {
					ret.push($(this).val());
				});
				return ret;
			},
            loadFromString: function (str, form) {
                var ret = $.parseJSON(str);
                if (ret.server_url) {
                    ret = lib.global.convert.from['0.1'](ret);
                }
                if (!ret || !ret.server) {                    
                    return false;
                }
                ret = $.extend(true, {}, lib.global.defaultData, ret);
                $("[name=server_url]", form).val(ret.server.url);
                $("[name=server_request_type]", form).val(ret.server.request.type);
                $("[name=server_request_ext]", form).val(ret.server.request.ext);
                $("[name=server_result_type]", form).val(ret.server.result.type);
                $("[name=server_request_format]", form).val(ret.server.request.format);
                $("[name=server_request_http_version]", form).val(ret.server.request.http_version);
                if (ret.server.cookies.save == 'yes') {
                    $("#save_cookie_yes", form).attr("checked", "checked");
                    $("#save_cookie_no", form).removeAttr("checked");
                } else {
                    $("#save_cookie_yes", form).removeAttr("checked");
                    $("#save_cookie_no", form).attr("checked", "checked");
                }
                var needs = ret.params.length - 1;
				var field_types = lib.global.getFieldTypes();
				//if (needs > 0) {
					$(".params_table .block:gt(" + needs + ")", form).remove();
					var ecount = $(".params_table .block", form).length;
					for (var i = ecount; i < (needs + 1); i++) {
						lib.add_button.click();
					}
					var m = 0;
					$(".params_table .block", form).each(function () {
						var tr = $(this);
						$(".param_name_changer", tr).val(ret.params[m].name);
						$(".param_type_changer", tr).val(($.inArray(ret.params[m].type, field_types) != -1)?ret.params[m].type:'text');
						$(".param_value_changer", tr).val(ret.params[m].value);
						m++;
					});
				//}                
                $('.server_request_type_changer').click();
                $('.server_request_format_changer').click();
                $('.server_request_format_changer').change();
                $('.server_request_type_changer').change();
				return true;
            },
            language: {
                get: function (lang) {
                    var id = "#language_table #lang_" + lang;
                    return $(id).html();
                }
            },
            error: {
                show: function (msg) {
                    var obj = $('#page_error');
                    obj.html(msg);
                    obj.show();
                    return obj;
                },
                hide: function () {
                    var obj = $('#page_error');
                    obj.hide();
                }
            }
        },
        param_name_changer: {
            keyup: function () {
                var obj = $(this);
                var row = lib.global.getRow(obj);
                var clear_row = $(".clear_row", row);

                var v1 = obj.val();
                var v2 = $(".param_value_changer", row).val();

                /*if (v1 == "" || v2 == "") {
                    clear_row.attr("disabled", "disabled");
                } else {
                    clear_row.removeAttr("disabled");
                }*/
            }
        },
        param_value_changer: {
            keyup: function () {
                var obj = $(this);
                var row = lib.global.getRow(obj);
                var clear_row = $(".clear_row", row);

                var v1 = obj.val();
                var v2 = $(".param_name_changer", row).val();

               /* if (v1 == "" || v2 == "") {
                    clear_row.attr("disabled", "disabled");
                } else {
                    clear_row.removeAttr("disabled");
                }*/
            }
        },
        param_type_changer: {
            change: function () {
                var obj = $(this);
                var row = lib.global.getRow(obj);
                var param_value_changer = $("input.param_value_changer", row);
                var ninput = $("<input />");
                var value = $("option:selected", obj).attr("value");
                ninput.attr("type", value);
                ninput.attr("name", param_value_changer.attr("name"));
                ninput.attr("class", param_value_changer.attr("class"));
                ninput.attr("style", param_value_changer.attr("style"));
                ninput.val(param_value_changer.val());
                param_value_changer.replaceWith(ninput);
            }
        },
        dublicate_row: {
            click: function () {
                var row = lib.global.getRow(this);
                var r2 = row.clone();
                var table = row.parent();
                table.append(r2);
                r2.show();
                $(".param_type_changer", r2).change(lib.param_type_changer.change);
                $(".param_type_changer", r2).val($("input.param_value_changer", r2).attr("type"));
                $(".dublicate_row", r2).click(lib.dublicate_row.click);
                $(".clear_row", r2).click(lib.clear_row.click);
                $(".param_name_changer", r2).keyup(lib.param_name_changer.keyup);
                $(".param_value_changer", r2).keyup(lib.param_value_changer.keyup);
                $(".remove_row", r2).click(lib.remove_row.click);
                $(".remove_row", r2).removeAttr("disabled");
            }
        },
        clear_row: {
            click: function () {
                var row = lib.global.getRow(this);
                $("input.param_value_changer", row).val("");
                $("input.param_name_changer", row).val("");
                //$(this).attr("disabled", "disabled");
				if(typeof(Storage) !== "undefined") {
					sessionStorage.clear();
					$('input, select', $('#api_form')).change();
				}
            }
        },
        remove_row: {
            click: function () {
                var row = lib.global.getRow(this);
                row.remove();
				if(typeof(Storage) !== "undefined") {
					sessionStorage.clear();
					$('input, select', $('#api_form')).change();
				}
            }
        },
        add_button: {
            click: function () {
                var row = $(".params_table .block").first();
                $(".dublicate_row", row).click();
                $(".params_table .block:last input.param_name_changer").val("");
                $(".params_table .block:last input.param_value_changer").val("");
            }
        },
        clear_form: {
            click: function () {
                var i = 0;
                $(".params_table tbody tr").each(
                        function () {
                            if (i > 0) {
                                var obj = $(this);
                                obj.remove();
                            }
                            i++;
                        }
                );
				if(typeof(Storage) !== "undefined") {
					sessionStorage.clear();
					$('input, select', $('#api_form')).change();
				}				
            }
        },
        load_button: {
            click: function () {
                var file = $("<input type=\"file\" accept=\"application/json\" />");
                var obj = $(this);
                var form = obj.closest("form");
                var fobj = file;
                file.change(function () {
                    var file = fobj.get(0).files[0];
                    var reader = new FileReader();
                    reader.onload = function (fileData) {
                        if (!lib.global.loadFromString(reader.result, form)){
							alert(lib.global.language.get('bad_format'));
                        }
						$('input, select', $('#api_form')).change();
                    };
                    reader.readAsText(file);
                });
                file.click();
            }
        },
        save_button: {
            click: function () {
                var obj = $(this)
					jRet = lib.global.saveToString(null),
                    filename = lib.global.getFileName(null);
                download(jRet, filename, "image/png");
            }
        },
        server_request_type_changer: {
            change: function () {
                var obj = $(this);
                switch (obj.val()) {
                    case 'delete':
                    case 'options':
                    case 'trace':
                        $('.request_params').hide();
                        break;
                    case 'get':
                    case 'post':
                    case 'put':
                    case 'patch':
                        $('.request_params').show();
                        break;
                    default:
                        $('.request_params').show();
                }
            },
        },
        server_request_format_changer: {
            change: function () {
                var obj = $(this);
                switch (obj.val()) {
                    case 'special_header':
                        $('.ext_server_data').show();
                        break;
                    default:
                        $('.ext_server_data').hide();
                }
            },
        }
    };
    $(".param_type_changer").change(lib.param_type_changer.change);
    $(".dublicate_row").click(lib.dublicate_row.click);
    $(".clear_row").click(lib.clear_row.click);
    $(".remove_row").click(lib.remove_row.click);
    $(".param_name_changer").keyup(lib.param_name_changer.keyup);
    $(".param_value_changer").keyup(lib.param_value_changer.keyup);
    $(".add_button").click(lib.add_button.click);
    $(".clear_form").click(lib.clear_form.click);
    $(".load_button").click(lib.load_button.click);
    $(".save_button").click(lib.save_button.click);
    $('.server_request_type_changer').click(lib.server_request_type_changer.change);
    $('.server_request_type_changer').change(lib.server_request_type_changer.change);
    $('.server_request_type_changer').change();
    $('.server_request_format_changer').change(lib.server_request_format_changer.change);
    $('.server_request_format_changer').change();

    $('form[data-previously-submited]').each(
            function () {
                var form = $(this);
                var str = decodeURIComponent(form.data('previously-submited'));
                if (str) {
                    if (lib.global.loadFromString(str, form)) {
                        $('.result_area', form).show()
                    }
                    ;
                }
            }
    );


    $('a[data-for]').each(function () {
        var obj = $(this);
        obj.attr('href', '');
        obj.click(function () {
            var obj = $(this);
            var form = $('#' + obj.data('for'));
            var s2 = obj.data('linkdata');
            var str = decodeURIComponent(s2);
            if (str && confirm(lib.global.language.get('load_this'))) {
                lib.global.loadFromString(str, form);
				$('input, select', $('#api_form')).change();
			}
            return false;
        });
    });

    // Needs Script
    $('.need_script').show();

	if(typeof(Storage) !== "undefined") {
		var da = {};
		var ls_prefix = 'form.data.';
		for (var x in sessionStorage) {
			if (x.indexOf(ls_prefix) === 0)
			{
				var name = x.substr(ls_prefix.length);
				if (name.substr(name.length - 1 ) == ']') {
					var o = name.indexOf('[');
					var sname = name.substr(0, o);
					var index = name.substr(o + 1, name.length - 2 -o);
					if (!da[sname]) {
						da[sname] = {};
					}
					da[sname][index] = sessionStorage[x];
				} else {
					da[name] = sessionStorage[x];
				}
			}
		}
		lib.global.loadFromString(window.JSON.stringify(da), $('#api_form'));
		$('#api_form').delegate('input, select', 'change', function () {
			var obj = $(this);
			var name = ls_prefix  + obj.attr('name');
			if (name.substr(name.length - 2) == '[]') {
				var index = $('[name="' + obj.attr('name') + '"]').index(obj);
				name = name.substr(0, name.length - 2) + '[' + index + ']';
			}
			sessionStorage[name] = [obj.val()];
		});
	}

    // form
    $('#api_form').submit(function (e) {
        e.preventDefault();
        loader.start('Apdorojama');
        var formData = new FormData($('#api_form')[0])
        $.ajax({
            type: "POST",
            async: true,
            url: 'https://redhat.polarhome.com:794/~int21/php-scripts-for-mekdrops-fsfiddle-tools/http-uzklausu-tikrintuvas.php',
            data: formData,
            dataType: 'html',
            cache: false,
            contentType: false,
            processData: false,
            crossDomain: true,
            success: function (data, textStatus, jqXHR) {
                var result = $('#api_form .result_area').first();
                code = result.find('code').first();
                code.html(data);
                code.removeClass();
                switch (jqXHR.getResponseHeader ? jqXHR.getResponseHeader("content-type").split(';', 1)[0] : null) {
                    case 'text/html':
                        code.addClass('html').addClass('pre');
                        break;
                    case 'application/json':
                        code.addClass('json').addClass('pre');
                        code.html(code.html().replace(/\\\//g, '/'));
                        break;
                    case 'application/header':
                        code.addClass('http').addClass('pre');
                        break;
                    default:
                        code.addClass('nohighlight');
                        break;
                }
                result.show();
                loader.stop();
                lib.helpers.makeLinks();
                lib.helpers.highlight(code.get(0));
            },
            error: function (jqXHR, textStatus, errorThrown) {
                lib.global.error.show(errorThrown);
                loader.stop();
            }
        });
    });

};

app(jQuery, loading($), Autolinker, hljs, download);
<div class="container">
<h3><a href="#" rel="bookmark" title="Permanent Link to HTTP užklausų tikrintuvas">HTTP užklausų tikrintuvas</a></h3>
					 
						<div class="full-post-content"><p>Šis įrankis skirtas pasitikrinti, kokie rezultatai gaunami su skirtingais parametrais, kreipiantis į įvairius interneto adresus HTTP protokolu. <span class="need_script"> Pavyzdžiui, galima sužinoti, <a rel="nofollow" data-for="api_form" data-linkdata="%7B%22p%22%3A%2286%22%2C%22preview%22%3A%22true%22%2C%22server_url%22%3A%22http%3A%5C%2F%5C%2Fitunes.apple.com%5C%2Fsearch%22%2C%22server_request_type%22%3A%22get%22%2C%22server_request_ext%22%3A%22%22%2C%22server_result_type%22%3A%22json%22%2C%22save_cookies%22%3A%22no%22%2C%22param_name%22%3A%5B%22term%22%2C%22country%22%2C%22entity%22%2C%22limit%22%5D%2C%22param_value%22%3A%5B%22cat%22%2C%22lt%22%2C%22software%22%2C%2210%22%5D%2C%22param_type%22%3A%22text%22%7D" href="">kokias aplikacijas iTunes API randa apie kates</a>, <a rel="nofollow" data-for="api_form" data-linkdata="%7B%22p%22%3A%2286%22%2C%22preview%22%3A%22true%22%2C%22server_url%22%3A%22http%3A%5C%2F%5C%2Fgames.lt%22%2C%22server_request_type%22%3A%22head%22%2C%22server_request_ext%22%3A%22%22%2C%22server_result_type%22%3A%22header%22%2C%22save_cookies%22%3A%22no%22%2C%22param_name%22%3A%5B%22%22%5D%2C%22param_value%22%3A%5B%22%22%5D%2C%22param_type%22%3A%22text%22%7D" href=""> kokius <i>header</i>‘ius gražina serveris, kaip kreipiamasi į Games.lt tinklalapį</a>.</span></p>
<form id="api_form" class="need_script form-horizontal" action="javascript://" method="post">
<fieldset class="server_request_config">
<legend><b>Serveris</b></legend>
<div class="form-group"><label class="control-label col-sm-4" for="server_url">Adresas:</label>
<div class="col-sm-8 input-el"><input class="form-control" id="server_url" name="server_url" type="url" value=""></div>
</div>
<div class="form-group"><label class="control-label col-sm-4" for="server_request_http_version">HTTP versija:</label>
<div class="col-sm-8 input-el"><select class="form-control" id="server_request_http_version" name="server_request_http_version"><option value="auto" selected="selected">auto</option><option value="1.0">1.0</option><option value="1.1">1.1</option></select></div>
</div>
<div class="form-group"><label class="control-label col-sm-4" for="server_request_type">Užklausos tipas:</label>
<div class="col-sm-8 input-el"><select class="form-control" id="server_request_type" name="server_request_type"><option value="post">POST</option><option value="get">GET</option><option value="delete">DELETE</option><option value="put">PUT</option><option value="patch">PATCH</option><option value="head">HEAD</option><option value="trace">TRACE</option></select></div>
</div>
<div class="form-group"><label class="control-label col-sm-4" for="server_request_format">Kokiu formatu siųsti parametrus?</label>
<div class="col-sm-8 input-el"><select class="form-control server_request_format_changer" id="server_request_format" name="server_request_format"><option value="default">Įprastu</option><option value="special_header">Speciali eilutė antraštėje (JSON formatu)</option></select></div>
</div>
<div class="form-group ext_server_data" style="display: none;"><label class="control-label col-sm-4" for="server_request_ext">Užklausos tipo parametras:</label>
<div class="col-sm-8 input-el"><input class="form-control" id="server_request_ext" name="server_request_ext" type="text" value=""></div>
</div>
<div class="form-group"><label class="control-label col-sm-4" for="server_result_type">Rezultatų tipas:</label>
<div class="col-sm-8 input-el"><select class="form-control" id="server_result_type" name="server_result_type"><option value="json">JSON</option><option value="header">Header</option><option value="html">text/html</option></select></div>
</div>
<div class="form-group"><label class="control-label col-sm-4">Išsaugoti sausainėlius:</label>
<div class="col-sm-8 input-el"><label class="radio-inline"><input id="save_cookie_yes" name="save_cookies" type="radio" value="yes"> Taip</label><label class="radio-inline"><input id="save_cookie_no" checked="checked" name="save_cookies" type="radio" value="no"> Ne</label></div>
</div>
</fieldset>
<fieldset class="request_params">
<legend><b>Užklausos parametrai</b> <button class="add_button btn btn-default" type="button">+</button></legend>
<div class="params_table">
<div class="form-group block">
<div class="col-sm-4 input-el"><input class="param_name_changer form-control" autocomplete="on" name="param_name[]" type="text" value="" placeholder="Parametras"></div>
<div class="col-sm-4 input-el"><input class="param_value_changer form-control" autocomplete="on" name="param_value[]" type="text" value="" placeholder="Reikšmė"></div>
<div class="col-sm-4 input-el">
<div class="input-group"><select class="param_type_changer form-control" name="param_type"><option value="text">Tekstas</option><option value="color">Spalva</option><option value="date">Data</option><option value="datetime">Data ir laikas</option><option value="email">ePaštas</option><option value="month">Mėnesis</option><option value="number">Numeris</option><option value="tel">Telefonas</option><option value="time">Laikas</option><option value="url">Interneto adresas</option><option value="week">Savaitė</option></select>
<div class="input-group-btn"><button class="dublicate_row btn btn-default" type="button">D</button></div>
<div class="input-group-btn"><button class="clear_row btn btn-warning" type="button">C</button></div>
<div class="input-group-btn"><button class="remove_row btn btn-danger" disabled="disabled" type="button">–</button></div>
</div>
</div>
</div>
</div>
</fieldset>
<p><button class="load_button pull-right btn btn-default" type="button">Įkelti</button><button class="save_button pull-right btn btn-default" type="button">Išsaugoti</button><button type="submit" class="btn btn-primary">Siųsti</button><button class="clear_form btn btn-danger" type="reset">Išvalyti formą</button></p>
<fieldset class="result_area" style="display: none;">
<legend><b>Rezultatas</b></legend>
<p><code>&nbsp;</code></p></fieldset>
</form><div style="display: none;"><div><span class="glyphicon glyphicon-refresh refresh-animate" data-role="animation"></span> <span data-role="msg">Apdorojama...</span></div></div>
<div id="language_table" style="display: none;">
<div id="lang_load_this">Ar tikrai norite įkrauti šias parinktis? Visi esami formos pakeitimai bus tuomet prarasti.</div>
<div id="lang_bad_format">Blogas failo formatas</div>
<div id="lang_sorry_only_webkit_supported">Šaunu, Jūs naudojate interneto naršyklę palaikančią galimybę atlikti veiksmus su failais! Deja, tas kas programavo šį įrankį iki šiol neatrado laiko padaryti, kad ši galimybė veiktų ir su Jūsų naudojama naršykle. Jei norite pasinaudoti šia galimybe, atsiųskite naujausią <a href="http://www.opera.com" target="_blank">Opera</a>, <a href="http://www.apple.com/safari/" target="_blank">Safari</a>, <a href="http://www.google.com/chrome/" target="_blank">Google Chrome</a> ar kurią nors kitą <a href="http://en.wikipedia.org/wiki/WebKit" target="_blank">Webkit</a> varikliuką naudojančią naršyklę.</div>
<div id="lang_your_browser_too_old">Jūs naudojate per seną interneto naršyklę. Ji nepalaiko tam tikrų HTML5 technologijų, kurios reikalingos, norint atlikti veiksmus su failais.</div>
</div>
<div id="page_error"><noscript>Norint pasinaudoti šiuo įrankiu būtina, kad naudojama naršyklė palaikytų JavaScript.</noscript></div>
</div>
</div>
code {
    display: block;
    overflow: auto;
    max-height: 30em;
    white-space: pre;
}