golangsimpleapi

command module
v0.0.0-...-fc2749a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2020 License: MIT Imports: 8 Imported by: 0

README

API ENDPOINTS

Donate

All Posts

  • Path : /posts
  • Method: GET
  • Response: 200

Create Post

  • Path : /posts/create
  • Method: POST
  • Fields: title, content
  • Response: 201

Details a Post

  • Path : /posts/{id}
  • Method: GET
  • Response: 200

Update Post

  • Path : /posts/update/{id}
  • Method: PUT
  • Fields: title, content
  • Response: 200

Delete Post

  • Path : /posts/{id}
  • Method: DELETE
  • Response: 204

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL