secureRestAPI