def post[T: Reader]()

in src/main/scala/com/gu/invoicing/refund/Impl.scala [260:270]


  def post[T: Reader](url: String, body: String): T = {
    System.out.println(s"Calling POST $url with body ${stripNewlines(body)}")
    Http(url)
      .header("Authorization", s"Bearer $accessToken")
      .header("Content-Type", "application/json")
      .postData(body)
      .method("POST")
      .asString
      .body
      .pipe(logAndRead[T](url, _))
  }