Skip to content

Encode Query Data Example (JS)

Jordan Jordanov edited this page Oct 27, 2018 · 1 revision

function getKeyValueDataByAjax(keyImplementationId, callback) {

const querydata = {
	keyImplementationId: keyImplementationId
};

const url = getValuesByKeyImplementationIdUrl + encodeQueryData(querydata);

$.ajax({
	type: "GET",
	async: true,
	url: url,
	contentType: "application/json",
	dataType: "json",
	success: callback,
	error: onError
});

};

Clone this wiki locally