Skip to content

planetnest/php-A-Team-16

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RESTful api with php

on localhost

go to localhost/php-A-Team-16/savejson to save json data

go to localhost/php-A-Team-16/api/randomstring to get your saved json data

http://apidevacc.herokuapp.com/savejson/

using postman

The name of the input field should be "json" and the value shouldbe the json data

To update existing saved json

endpoint

The URL of the json data/update e.g server.address/api/RSD1678Wa4gZQfE9FX502sdAC3/update

To delete existing saved json

endpoint

the URL of the json data/update e.g server.address/api/RSD1678Wa4gZQfE9FX502sdAC3/delete

after saving the json data a random string will be added to http://apidevacc.herokuapp.com/api/. This will be your access point to your json file example http://apidevacc.herokuapp.com/api/RSD1678Wa4gZQfE9FX502sdAC3

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published