rahulyo954030 / CognitiveClouds

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CognitiveClouds -- Ruby on Rails (API Assignment)

Step 1: Type this command to start the server in your terminal.

rails server

Step 2: Adds new user to users table.

post : "http://localhost:3000/users"

Example:



Step 3: Get users with pagination (3 users per page).

get : "http://localhost:3000/users?page=0"

Example:



Step 4: Returns specific user from users.

get : "http://localhost:3000/users/2"

Example:



Step 5: Update specific user in users table

put : "http://localhost:3000/users/8"

Example:



Step 6: Delete specific user in users table

delete : "http://localhost:3000/users/5"

Example:



πŸ‘‰ For any query you can reach out to me through given email address

πŸ‘‰ rahulyo954030@gmail.com πŸ“§

About


Languages

Language:Ruby 87.2%Language:Batchfile 11.9%Language:HTML 1.0%