Skip to content

ABAPlan/abaplan-restapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rest API proxy

Please, don't put production server db credentials. Ask credentials.php to the admin (jca)

How to run

php5 -S localhost:8000

Verbs

  • GET
    • localhost:8000/maps get all the map
    • localhost:8000/maps/:id get the map with the id :id
  • POST
    • localhost:8000/maps

A post message is a JSON with this validation :

{
	"height": [int],
	"width": [int],
	"city": [bool],
	"hash": [str],
	"title": [str],
	"creatorId": [int],
	"mapIsPublic": [bool],
    "extent": [json],
	"graphics": [json],
}

About

This repo provide an API Rest for maps persistance and identification

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages