How to call Strapi restful API by PostMan

Overview

To call a restful API, we have 2 major steps

  1. Call Authen to get a jwt key
  2. Send request with jwt key

Prerequire

Download and Install Postman

Create User and grant Permission

Call Authen to get a jwt key

  • Step 1: Open Postman, define a POST request to domain/auth/local
  • Step 2: Choose Body tab > raw and JSON
  • Step 3: Input the content

{
“identifier”: “user”,
“password”: “password”
}

  • Step 4 Send to get JWT key

Send request

You can refer all Endpoint here