Getir Study Case
With Docker:
$ docker build -t getir .
$ docker run -d -p 8080:8080 --name getir getir
- Postman Test's
- Go Test's
/search | http://52.214.126.26:8080/search
/holder | http://52.214.126.26:8080/holder
URL : /search
Method : POST
Data example
{
"startDate": "2016-01-21",
"endDate": "2016-03-02",
"minCount": 2900,
"maxCount": 3000
}
Code : 200
Content example
{
"code": 0,
"msg": "Success",
"records": [
{
"createdAt": "2016-02-19T08:35:39.409+02:00",
"key": "kkxEdhft",
"totalCount": 2980
}
]
}
- Set Holder :
POST /holder
URL : /holder
Method : POST
Data example
{
"key": "example",
"value": "example"
}
Code : 201
Content example
{
"key": "example",
"value": "example"
}
- Set Holder :
GET /holder
URL : /holder
Method : GET
Data example
Header key : example
Code : 200
Content example
{
"key": "example",
"value": "example"
}