Fix documentation for building request

I think this fixes the documentation for using buildRequest.