How to test a biometric API using Postman

Biometric APIs (Application Programming Interface) allow you to authenticate and authorize several types of applications safely. They coordinate a biometric verification prompt and provide a great experience by supporting multiple types of authentication of individuals, such as fingerprint and face biometrics.

The step-by-step described here shows how to test some of the basic record management operations, also known as the CRUD of a Biometric API. 

What is CRUD?

CRUD is the acronym for Create, Read, Update and Delete. These are the four main operations that usually can be handled in a database.

In short, CRUD is a set of operations formed by basic requests that an application makes to a database.

Now that you understand what CRUD is, understand in 4 steps how to test basic operations and how they work in a biometric API through Postman.

1. Enroll the biometric into the Biometric API

The first CRUD operation is related to creation. Creation refers to registering an individual in the database. 

This procedure was developed in another tutorial entitled: How to register an individual's facial biometrics with Postman. 

The article will show a simple step-by-step process of registering a user in just 6 steps.

Moreover, the content goes from creating the account for receiving the API access key to adding a person and their facial picture to the biometric platform by Postman.

2. Verify the biometrics in the Biometric API

Once the first operation has been completed, you can start the verification

The function allows you to verify that the biometric data provided in the request actually belongs to an individual previously registered in the system, both for fingerprints and face. 

In this comparison you must include at least one facial image, since in the registration phase we use a face. Otherwise, an Invalid JSON format error message will be returned and the procedure will not be completed successfully.

Start the verification by the authorization header that must be filled in according to step 3 of the registration tutorial. On this occasion, just change the url end to verify: https://api.biopassid.com/multibiometrics/verify.

The parameters in the body of the verification request look similar to those in the registration. So we can also follow step 4 of the registration tutorial by changing only the content of the variable Face-1, which is the image transformed into base64.

To convert the image that will be used as a comparison, you only need to convert it to base64 so it becomes a computer-readable string of characters. 

Learn more in the article: How to register a user's facial biometrics via Postman. 

If the request is successful, you will get the Person object as a response with the following fields: 

  • CustomID: a string with the identifier of the registered individual.
  • Match: a boolean that indicates if the biometric matches the one of the indicated person.
  • MatchDetails: an object that details the comparison between biometrics that has the FaceMatched and NonMatchedFingers parameters.
  • Success: a boolean that determines the success of the transaction.

In case of failure, you will receive the status '400 Bad Request'. In the body of the response, the message will indicate the presumed reason. In the example below, the reason was that the person to be checked did not exist in the database queried, returning the error "Person not found":

For all errors and descriptions, please check the BioPass ID API documentation.

With this step complete, proceed to the update.

3. Update the data in the Biometric API

To edit an individual's data, use the PUT method and the URL https://api.biopassid.com/multibiometrics/update

At this point, change just what you want in the parameters of the request body. The syntax will be the same as for previous operations.

In the transaction, it is essential that at least one fingerprint or face image is entered in the body of the request. Otherwise, the API will return the error message Invalid JSON format.

As in the registration, the success response will show a Person object with the fields:

  • Client ID.
  • Custom ID.
  • BioPass ID.

In case of failures or questions regarding the response message, please check the details in the documentation. And if the error persists, please contact BioPass ID API support for help.

4. Delete a biometric in the Biometric API

Deleting a biometric in the API is the simplest transaction. It does not require filling in the Fingers or Face fields.

To delete a person from the biometrics platform use the DELETE method and the url https://api.biopassid.com/multibiometrics/delete. In the body of the request you only need to inform the identifier of the registered individual.


If the request succeeds, you will receive the status "200 OK" and in the body of the response there will be a Person object with the null CustomID field as in the image below:

Some failures can happen in this operation, such as:

  • Invalid JSON format. 
  • Unable to connect to the database. 
  • Person not found. 

The following screenshot illustrates an unsuccessful request in which the identifier entered in the system could not be found.

5. Apply it to Postman yourself

You learned in this article about what CRUD is and how to use its features when it comes to a biometric platform.

I also explained in a step-by-step instructional way how to test basic operations in a biometric API via Postman, such as enroll, verify, update, and delete a biometric.

Now, be sure to test the several other operations of the Multibiometric Package in BioPass ID and see you in the next tutorial.

Translation: Thalita Ferreira

Don't miss out on our updates!

Subscribe to BioPass ID's newsletter and stay up-to-date with the world of biometrics and technology.

Thanks! We received your message!
Oops! Algo deu errado no envio do formulário.
Tente novamente em instantes.

Latest

Multibiometrics: A step-by-step guide to implementing multifactor authentication into applications

Multifactor authentication increases security in digital environments. Discover BioPass ID's multibiometrics for data protection.

Tutorials
Artificial Intelligence in Schools: Benefits for Educational Management

The use of artificial intelligence in schools improves the administrative processes and optimizes the financial management of schools. Learn more about the use of technology in teaching.

Features
Financial fraud: how multi-factor authentication can help solve the problem

Multi-factor authentication is the trend emerging to combat the rise in financial fraud. Find out how to use and apply the technology.

Business
Health 4.0: what it is, its benefits and challenges

Health 4.0 is data-driven and focused on personalizing patient care. This article explores the benefits and challenges of this approach.

Business
Contactless technology: learn about the innovation and its benefits

Contactless technology is growing at more than 180% annually, with strong adoption among the Brazilian public. Learn more about contactless payments.

Trend
Types of healthcare fraud: how biometrics can prevent them

Discover the most common healthcare frauds and how biometrics can help prevent these threats.

Privacy and Security
3 technology trends for the healthcare market

Technology helps improve both human and institutional health. Find out more about the emerging trends in the healthcare market.

Business
How to prevent fraud in public tenders with biometrics?

Fraud in public tenders can be prevented using biometrics, which brings more security and reliability to competitions. Find out more!

Business
How can BioPass ID APIs optimize healthcare services?

The use of APIs in healthcare simplifies processes and improves the quality of medical care. Learn more!

Business
How biometrics strengthens security in brazilian schools

The biggest benefit of using biometrics in schools is increased security. But there are many other benefits. Find out more here.

Business
Discover how BioPass ID prevents financial fraud

Fraudsters create new financial scams every day. Discover how BioPass ID protects companies and customer data from malicious actions.

Features
Telemedicine in Brazil: 5 advantages of using biometrics

The security and confidentiality of telemedicine in Brazil are concerns that are eliminated with the use of biometrics. Read more in the article.

Business
APIs for the financial market: how can they help your company?

APIs bring agility and savings to banks and fintechs. Discover other benefits that can also help financial institutions.

Features
3 APIs for the BioPass ID to streamline the education process

Biometric APIs can increase the security of educational institutions and improve operational efficiency and the student experience. Find out more.

Features
How to identify and prevent bank fraud

Learn how to identify bank fraud and how biometrics can help secure your information.

Business
Technology in Finance: trends and challenges

Artificial intelligence, open finance, and advanced biometrics promise to transform the financial marketplace. Learn more to stay ahead.

Business
5 security trends in education

Schools are facing complex security challenges and are trusting in technological innovation to solve these problems. Discover the top 5 trends.

Business
GDPL and biometrics: what to do to adapt

The GDPL has raised questions about the treatment and privacy of user data. Understand once and for all how it works.

Privacy and Security
5 benefits of using a Rest API

Rest APIs are ideal for cloud applications. Find out how to use them in your project.

Features
Cybersecurity: what it is and how to invest

Learn all about cybersecurity and find out how to protect your data online.

Privacy and Security
Liveness Detection: what’s the difference between passive and active?

The liveness detection technology may be used in a passive and active method to identify the proof of life authenticity of an image. Learn what’s the difference between them.

Features
ICAO standard: how to ensure biometric image quality

Quality biometric images meet ICAO standard to optimize identification and identity verification. Check out BioPass ID's solutions.

Features
Microservices architecture: what they are and their benefits

Learn what is the architecture model for software development using microservices and what are its advantages.

Business
How to speed up software developments with SDKs

The Face SDK, one of the BioPass ID SDKs, makes it possible to build and configure development platforms or applications quickly.

Features
Biometric boarding in Brazil: benefits and how it works

Meet the new technology that is breaking new ground in airport security.

News
Cloud Observability: what it is and how to use it

How to use web application monitoring and microservices in BioPass ID cloud-based biometrics platform. Check it out!

How to use Postman to evaluate the quality of a facial biometrics

A quick guide on how to use Postman, an API testing tool, to evaluate the quality of facial biometrics.

Features
How to detect spoofing in facial biometrics with Postman

Learn how to use the Postman tool to detect possible spoofing attacks on facial recognition biometric authentication systems.

Features
How to detect and anonymize facial biometrics via Postman

Check out how to detect and anonymize facial biometrics using the Postman platform and the BioPass ID feature set.

Features
Proof of Life: learn more about Liveness 2D V2

Biometrics, liveness and BioPass ID: how these technologies can boost your company and applications in the world of Biometrics as a Service.

ABIS: what is it, and how does it work

Biometrics, ABIS and BioPass ID. How these technologies can boost your company and applications in the world of Biometrics as a Service.

Liveness: the technology used by INSS to prevent fraud

Do you know Liveness? Learn how this tool can enhance your everyday security.

Why should you use biometrics in the cloud

Learn how the connection between Cloud Computing and Biometrics can increase the competitivity of companies in today's market.

Biometrics
How to use Postman to match facial biometrics

Understand the match between biometrics, using the BioPass ID feature set and the Postman platform to make API requests.

How to test a biometric API using Postman

Learn how to test a few CRUD operations of biometric API using Postman platform.

4 steps to integrate a BioPass ID biometric API

Learn how to implement and manage BioPass ID API packages in just 4 steps.

How to register a user's facial biometrics via Postman

Understand how to enroll facial biometrics through the Postman platform.

Kubernetes: the technology that enables cloud applications

Learn how BioPass ID uses Kubernetes, Containers, and cloud-native applications in its infrastructure.

Certify processes with the Analytics API

The Analytics API pack provides technology lenses that count people inside vehicles as well as in classrooms.

Online fraud: prevention tips with biometric validation

As our security advances, hackers also evolve their strategies. Do you know how to protect yourself from them?

Does biometrics contribute to trustworthy digital accounts?

As it seems, digital accounts are here to stay, but did biometrics contribute to this achievement?

What does the Roman Empire and biometrics have in common?

Did you know that the Roman Empire and biometrics have something in common? Yes, in concern for information security.

Data security: get better results with biometrics

Nowadays, with the amount of people connected, we care about the security of our data. Biometric correspondence can help with that.

Facial recognition is already being used in condos

Facial recognition technology is already being used in condos around the world as a way to ensure security and validate the entry of residents. Read this text to see how this process works.

How to prevent fraud using biometrics

Biometrics is an excellent security and validation tool, but you need to be aware of possible frauds. Read this text and learn more about it.

Learn the requirements of the ICAO standard (ISO 19794-5)

Learn about the characteristics of the icao standard for using facial recognition technology at airports.

How does facial biometrics help to keep your data safe?

Facial biometrics was one of the greatest security tools used in the pandemic.

What is the difference between API and SDK?

Understand the main differences between API and SDK, two technological tools often used by developers in applications.

What is cyber security?

Understand how cyber security works and how it can protect your data.

Do you really know how biometrics work?

Check out the news about the universe of biometrics, which develop and is integrated more and more in the daily life of the population.

What is an SDK?

SDK is a tool widely used in the technological environment. Learn more about it and learn how it can help you develop your applications.

How does facial biometrics work on public transportation

Facial biometrics has already been used in public transportation in some parts of the world. Learn how this technology can optimize the life of your users.

What is an API?

Understand what an API is, how it works, and where it runs in biometric applications.

Learn about multifactor authentication with multibiometrics

Understand how multi-factor authentication ensures full security and provides a good experience for your users.

Have you ever paid for your lunch with facial recognition?

As technology modernizes, new forms of access and payment are also created, and one of these possibilities is to pay with facial recognition.

Increase the security of your onboarding with Biometric Qualification

Onboarding is increasingly present in our lives, and as such, it is important to invest in increasing your security with biometric qualification.

Security flaws tendencies for 2022

From ransomware to identity management, learn about the main security flaws for 2022.

Using Facial Recognition in Videoconferences

Video conferencing is already part of our lives, but we need to pay attention to safety, imagine with the convenience of facial recognition?

Forget passwords, the future is passwordless

Who has never come across the event of forgetting a password? Forget it, the future is passwordless, contactless and frictionless.