Skip to content

spardue/geopost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

geopost

Functions

GET /posts

Either:

  • Returns and list of all posts.
  • Returns a list of all posts within a distance of [curr_latitude, curr_longitude].

POST /posts

Creates a new post. Must give it a message, longitude, and latitude otherwise it will return HTTP code 500 Internal Server Error. Returns HTTP code 200 OK on success.

GET /posts/<id>

Returns the specified post if it exists, otherwise returns HTTP code 404 Not Found.

About

I am a panda

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages