Skip to content

Correct REST verbs for CRUD #5

@ricardobalk

Description

@ricardobalk

The current version of go-osmand-tracker uses GET instead of POST, so it is not a correct REST-y way to receive location updates, but the OsmAnd uses GET requests for location updates, so that's why GET is used.

go-osmand-tracker should accept both GET (for backward compatibility) and POST (with a JSON body) in the future.

Operation HTTP SQL DDS
Create PUT / POST INSERT write
Read GET SELECT read / take
Update PUT / PATCH UPDATE write
Delete DELETE DELETE dispose

Metadata

Metadata

Assignees

Labels

improvementSomething that currently works, but can be done in a better way

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions