Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
async function uploadImagem(imageName) {
let config = {
method: 'POST',
uri: `${faceApi}/largefacelists/minha-lista/persistedfaces`,
headers: {
'Ocp-Apim-Subscription-Key': faceApiKey
json: true,
body: {
url: `${blobUrl}/${imageName}`
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
You can’t perform that action at this time.