How to call default API endpoint in custom plugin?

import { request } from ‘@strapi/helper-plugin’;