Skip to content

Mynk-Gupta/tweet_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

API Details

Login

  • Url: /users/login
  • Method: GET
  • Boady Parameters: { "user":{ "email": "user_1@test.com", "password": "password" } }

Add new tweet

  • Url: /tweet
  • Method: POST
  • Header: Authorization Token ( Token get from the login api)
  • Boady Parameters: { "tweet":{ "content": "First Tweet", } }

Edit a tweet

  • Url: /tweet/<tweet_id>
  • Method: PUT
  • Header: Authorization Token ( Token get from the login api)
  • Boady Parameters: { "tweet":{ "content": "First Tweet", } }

Delete a tweet

  • Url: /tweet/<tweet_id>
  • Method: DELETE
  • Header: Authorization Token ( Token get from the login api)

List of tweets by same organization members

  • url: /tweets
  • Method: GET
  • Header: Authorization Token ( Token get from the login api)

Forgot Password

  • Url : /password/forgot
  • Method: GET
  • URL Parameters: { "email": "<email_of_user>" }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published