Hi, I want to trigger plugin api endpoint to create some new values.
When I made with custom way (native fetch or axios), send bearer token, server returns 401.
When I use strapi helpers like request
or getFetchClient (post)
, catch 401 and redirect me to login page.
import { request } from "@strapi/helper-plugin";
import { getFetchClient } from '@strapi/helper-plugin';```
strapi version: "@strapi/strapi": "4.13.5"
, "react": "^18.2.0",