To get a local copy up and running follow these simple steps.
This is an example of how to list things you need to use the software and how to install them.
- go
- Clone the Repo
go get -u github.com/devashar13/instagram-api
/users
- Query Parameters
POST
{
"name":"Name",
"email":"name@gmail.com",
"password":"password"
}
Password Hashing Algorithm Used: SHA256
GET
/users/<userid>
POST
/products
POST
{
"user":"userid",
"caption":"caption",
"imageurl":"imageurl"
}
Time is set to the time of upload
GET
/products/<productid>
GET
/products/users/<userid>
or To paginate
GET
/products/users/<userid>?limit=2
go test