![Build Status]( .svg) [ ![Download]( /images/download.svg) ]( /_latestVersion)

http-verbs-play-25 is a Scala library providing concrete implementation of hrmc/http-core for making asynchronous HTTP calls. The underlying implementation uses Play 2.5 WS.

It encapsulates some common concerns for calling other HTTP services on the HMRC Tax Platform, including:

  • Auditing
  • Logging
  • Propagation of common headers
  • Response handling, converting failure status codes into a consistent set of exceptions - allows failures to be automatically propagated to the caller
  • Request & Response de-serialization

Auditing is no longer part of http-verbs, please see docs for play-auditing for further info.

Adding to your build

In your SBT build add:

resolvers += Resolver.bintrayRepo("hmrc", "releases")

// is needed in your project to get the implementation for http transport
libraryDependencies += "" %% "http-verbs-play-25" % "x.x.x"

// is needed in your project to get the implementation of the business logic 
libraryDependencies += "" %% "http-verbs" % "x.x.x" 


All examples are available here:hmrc/http-verbs-example


This code is open source software licensed under the Apache 2.0 License.