Skip to content

Instantly share code, notes, and snippets.

@towfiqpiash
Created May 13, 2018 09:09
Show Gist options
  • Save towfiqpiash/93711e0fad246920618dac76906117d6 to your computer and use it in GitHub Desktop.
Save towfiqpiash/93711e0fad246920618dac76906117d6 to your computer and use it in GitHub Desktop.
shobjanta

ShobjantaAPIDocs

Users [/users]

User resource representation.

Show all users [GET /users]

Get a JSON representation of all the registered users.

  • Request (application/json)

    • Body

        {
            "username": "foo",
            "password": "bar"
        }
      
  • Response 200 (application/json)

    • Body

        {
            "id": 10,
            "username": "foo"
        }
      
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment