Skip to content

snandasena/akka-http-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prerequisites

  • Java 11

Run the application

chmod u+x ./sbt
chmod u+x ./sbt-dist/bin/sbt
./sbt reStart

How to test this application

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published