In version 3, you may use “request” from
import {request} from "strapi-helper-plugin";
which get the jwt token automatically into the header.
You may get more detail from How to create your own plugin on strapi (1/4)
In version 3, you may use “request” from
import {request} from "strapi-helper-plugin";
which get the jwt token automatically into the header.
You may get more detail from How to create your own plugin on strapi (1/4)