Created
October 4, 2018 02:11
-
-
Save vmussak/43b23f4904293ddb8e0baa437d33b8da to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
async function criarLargeFaceList() { | |
let config = { | |
method: 'PUT', | |
uri: `${faceApi}/largefacelists/minha-lista`, | |
headers: { | |
'Ocp-Apim-Subscription-Key': faceApiKey | |
}, | |
json: true, | |
body: { | |
name: 'minha-lista', | |
userData: "Minha lista de faces" | |
} | |
}; | |
let response = await request(config); | |
return response; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment