Thursday , January 13 2022

Tag Archives: REST

PHP Rest API Framework SLIM to Create REST API – Android Coding by DMTechnolab

Simplified Coding

  <?php   //including the required files require_once ‘../include/DbOperation.php’; require ‘.././libs/Slim/Slim.php’;   SlimSlim::registerAutoloader();   $app = new SlimSlim();   /* * * URL: http://localhost/StudentApp/v1/createstudent * Parameters: name, username, password * Method: POST * */ $app->post(‘/createstudent’, function () use ($app) {     verifyRequiredParams(array(‘name’, ‘username’, ‘password’));     $response = array();     $name = $app->request->post(‘name’);     $username …

Read More »

WordPress to Android App using WP REST API Tutorial – Android Coding by DMTechnolab

Simplified Coding

The package With.wordpressappexample; Import Android.App.Progressressialog; Import Android.Content.Intent; Import Android.Support.v7.App.AppCompatActivity; Import Android..Bundle; Import Android.Opinion.Opinion; Import Android.Widget.Adapter view; Import Android.Widget.ArrayAdapter; Import Android.Widget.list View; Import Android.Widget.Toast; Import With.Android.Volley.Request; Import With.Android.Volley.request; Import With.Android.Volley.Feedback; Import With.Android.Volley.VolleyError; Import With.Android.Volley.Toolbox.Stringering; Import With.Android.Volley.Toolbox.Volley; Import With.Google.the resurrection.Arises; Import Java.Useful.The list; Import Java.Useful.Map; public class Main activity Is spread AppCompatActivity …

Read More »