Acquire new Measdata - 100prznt/EzoGateway GitHub Wiki
Perform a new hardware measurement. The measdata can fetched with the api\fetch call.
URL
/api/aqc
Method
GET
URL Params
None
Data Params
None
Success Response
Code
200 OK
Content
{
"task": {
"id": 1,
"Name": "AcquireMeasdata",
"href": ""
}
}
Error Response
None
Sample Call
$.ajax({
url: "/api/acq",
dataType: "json",
type : "GET",
success : function(r) {
console.log(r);
}
});