jquery

$.get jQuery

$.get("API_URL", {"key": "value"}, function(data, status) {
    console.log("data : ", data, "status : ", status);
});

Above code snippet can be used to send a 'GET' request to the server and collect the response from it. You can pass data to get request by a simple "key": "value" JSON structure.

Was this helpful?