Category Archives: Development
Mark 6 Generator by ChatGPT
Number of sets: Number of random numbers per set: Minimum number: Maximum number: Generate Numbers
Spring boot restful API
Restful API expresses CRUD operations through HTTP, the following is a set of Restful APIs to add, delete, modify and list FX currency values. URL HTTP Method function /fx POST list all the FX values /fx/{id} GET get FX values … Continue reading
Finding the nearby people/vehicle through latitude and longitude
Now that we know the latitude and longitude of the user’s current location and the range we are going to search, i.e. a center point and radius, the maximum and minimum values of longitude and latitude. First declare a function … Continue reading
Laravel using google captcha validation
install captcha dependence with composer add the class interface into ‘providers’ section in config/app.php define alias into the ‘alias’ section execute command to create configuration file edit the config file accordingly in config/captcha.php the code to show the captcha in … Continue reading
Laravel Restful API
Its not difficult to create restful API with Laravel. First create controller for handling data This will create the controller with some dummy functions index() show() store() update() destory() Update the api/FxInfoController.php Now update the routes/api.php to define where to goe.g. http://127.0.0.1:8000/api/fx will go … Continue reading