I'm trying to test the request body sent captured with OHHTTPStubs but it seems buggy returning because the
request.httpBody
is nil
.
I found this info about this problem Testing for the request body in your stubs. But I'm pretty new in iOS development and don't know how to access to OHHTTPStubs_HTTPBody
in Swift. How can I do this?