Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 484 Bytes

File metadata and controls

18 lines (14 loc) · 484 Bytes

Mock_Admin_Panel_Data

This repository provides mock data that simulates fetching from an API for the Admin Panel mockups.

Example (Using Fetch API):

const res = await fetch(
    `https://cdn.jsdelivr.net/gh/buildingu/Mock_Admin_Panel_Data@main/api/v1/blogs/blogs.json`,
    { method: "GET" }
  ),
  data = await res.json();

if (!res.ok)
  // Handle error response.

// Handle success response.

jsdelivr Documentation