PHP Classes

File: index.php

Recommend this page to a friend!
  Classes of Okanlawon Anuoluwapo   PHP MongoDB CRUD Example of API   index.php   Download  
File: index.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP MongoDB CRUD Example of API
API that provides CRUD operations with MongoDB
Author: By
Last change:
Date: 8 months ago
Size: 195 bytes
 

Contents

Class file image Download
<?php
/**
 * Load successfully
 */
http_response_code(200);
echo
json_encode([
   
"date_time" => date("d/m/Y h:i:sa"),
   
"version" => "1.0.0",
   
"status" => "ok",
   
"data" => "Success"
]);