Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 468 Bytes

rest.getStatus.md

File metadata and controls

21 lines (15 loc) · 468 Bytes

rest.getStatus

The getStatus function is established to get the http status after calling a restAPI. Its return is an integer number.

Sample

var ret = rest.get("http://localhost:8080/restSample/efwRestAPI/customer/u001");
// {"id":"u001","nm":"customer name"}
var status = rest.getStatus();
// 200

API

CallingReturning
rest . getStatus ( )number