- Java 11
chmod u+x ./sbt
chmod u+x ./sbt-dist/bin/sbt
./sbt reStart
The following curl command can be used to test this application and more sample requests can be found from data folder.
curl -X POST -H 'Content-Type: application/json' -i http://localhost:8080/authorized_buyers --data '{
"id": "dsfdsklfsknfkns",
"site": {
"id": 10,
"domain": "test.co"
},
"imp": [
{
"id": "imp1",
"tagid": "tagid1",
"w": 1000,
"h": 200,
"bidFloor": 1.0
}
],
"user": {
"id": "ewewew",
"geo": {
"country": "Sri Lanka"
}
}
}'
#References