const service = await fetch( `http://localhost:${process.env.PORT || 4300}/services`, { method: "POST", headers: { Authorization: `${process.env.USER_TOKEN}`, }, body: JSON.stringify({ name: "Example Service", description: "My example service description", }), }, ); console.log(await service.json());