-
-
Save kypflug/78dfea1179ead0889f2b02be01ea2b83 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
request.post({ | |
'url': 'https://api.projectoxford.ai/face/v1.0/facelists/' + your_face_api_list + '/persistedFaces', | |
'headers': { | |
'Content-Type': 'application/octet-stream', | |
'Ocp-Apim-Subscription-Key': your_secret_key_here | |
}, | |
'body': req.body | |
}, function(error, response, body) { | |
//add the newly created face_id to the user document | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment