79712428

Date: 2025-07-23 18:52:50
Score: 1
Natty:
Report link

Maybe a little late for you, but the best way to do this is use useFetchClient

  const { get, post } = useFetchClient();   
  const test = await get('/users')

this uses internal admin routes with authentication

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: David