php - How can I view my HTTP or HTTPS request before I send it? -


i'm in process of trying better understand http, more want comfortable working web based apis. of documentation i've read specific api's mention api expect http request in format, specific headers , content.

i'm trying use php curl, googling around haven't found way (that understand) print http request screen or text file rather sending it. want make sure request i'm constructing looks how intend to, rather getting success or failure message whatever server request sent to. there easy way this?

you should try using fiddler. fiddler show response , request header. other can install extension browser shows header, firefox have such extension think called livehttp... sorry didn't remember name.

for web debugging fiddler need http://fiddler2.com/


Comments

Popular posts from this blog

PySide and Qt Properties: Connecting signals from Python to QML -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

scala - 'wrong top statement declaration' when using slick in IntelliJ -