Skip to content

ndi.cloud.auth.verify

  VERIFY - verifies a user via the confirmation code sent in e-mail
  [STATUS,RESPONSE] = ndi.cloud.auth.verify(EMAIL, CONFIRMATION_CODE)

  Inputs:
    EMAIL - a string representing the email address used to verify
    CONFIRMATION_CODE - the code send to the email

  Outputs:
    STATUS - is the confirmation code correct? 1 for no, 0 for yes
    RESPONSE - the response summary

  Prepare the JSON data to be sent in the POST request