Debugging the request generated via Http Client library

Hi i am using CakePHP for a while i really like it but something came up recently and i needed to check the request generated via http client but all i can do is checking the response (via error logs). Is there a way to see what is the request i am posting to a web service?

btw i did not look for similar topics in forum because i didn’t see anything in google search.

Maybe packet sniffer? Or capture this on server (receiver) side?