Quantcast
Channel: Akka Libraries - Discussion Forum for Akka technologies
Viewing all articles
Browse latest Browse all 1362

Testing Routes with XML body

$
0
0

@sfali wrote:

Hello,

I have an Akka Http server, some of the requests require the body to be in XML format.

I am looking for a way to tests these routes from routes tests. In my case, I am creating HttpEntity with XML and passing it to Put, regardless of what content type I use I am getting following error:

Request was rejected with rejection akka.http.scaladsl.server.UnsupportedRequestContentTypeRejection@53bf7094

Any idea of how to test these routes?

Regards,

Syed

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 1362

Trending Articles