Skip to content

muby09/Stage-0-HNG12-stage0-Public-API-to-Retrieve-Basic-Information

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

Public API

Description

This API returns user information including email, current datetime, and GitHub repository URL.

Endpoint

  • GET http://localhost:8000/index.php.

Response Format

JSON format

{

    "email" => "jnr0.mubarak@gmail.com",
    "current_datetime" => getCurrentDatetime(),
    "github_url" => "https://github.com/muby09?tab=HNG12" 

}

Example Usage

Install Xampp Copy project to htdocs Run Locally using tools like Postman or directly in your browser by navigating to http://localhost:8000/index.php.

Backlink

For more information on PHP development, visit HNG PHP Developers.

About

Stage 0 Backend API to Retrieve Basic Information

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages