Skip to content

letitbasecret/E-comm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

API's

Authentication API's

Register a new user http://127.0.0.1:8000/api/register

method=post body= { name,email,password

}

user login http://127.0.0.1:8000/api/login

method=post body= { name,email,password

}

show all user detailhttp://127.0.0.1:8000/api/regdata

method= get




------------

show list of all the products http://127.0.0.1:8000/api/list

method=get

store new product in dataBasehttp://127.0.0.1:8000/api/store

method=post

body ={ name, price, description , image }

show detail of one itemhttp://127.0.0.1:8000/api/show/id

method= get

show default value for updatehttp://127.0.0.1:8000/api/edit/id

method= get

update api http://127.0.0.1:8000/api/update/id/?_method=put

method=post

body ={ name, price, description , image }

delete product http://127.0.0.1:8000/api/delete/id

method= delete

search producthttp://127.0.0.1:8000/api/search

method= get