Discussion:
off topic question --Browser/Post redirect
(too old to reply)
bruce
2018-04-05 18:45:12 UTC
Permalink
Raw Message
Hi.

I've got a test url that appears to do a Post with a redirect to a
"GET". When I run the url and examine the traffic using a network tool
like Livehttpheaders I can see the flow of the traffic. It clearly
shows the post/get actions. Unfortunately, the livehttp app doesn't
display the content/data for the url/page. I'd really like to be able
to see the content of the "POST". I'm trying to replicate the network
steps to generate the page/content using curl so I'd like to figureout
what I've missed.



The test url is
https://classschedule.tulane.edu/Search.aspx

Select the "Spring 2018" term, followed by the "Accounting" dept and
select the "Search All Courses" btn.

Thanks for any input/thoughts on this...
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: ht
Ray Satiro
2018-04-05 21:30:44 UTC
Permalink
Raw Message
Post by bruce
I've got a test url that appears to do a Post with a redirect to a
"GET". When I run the url and examine the traffic using a network tool
like Livehttpheaders I can see the flow of the traffic. It clearly
shows the post/get actions. Unfortunately, the livehttp app doesn't
display the content/data for the url/page. I'd really like to be able
to see the content of the "POST". I'm trying to replicate the network
steps to generate the page/content using curl so I'd like to figureout
what I've missed.
The curl question here seems to be how can you mimic what the browser is
sending by using curl. Both Chrome and Firefox have a copy as cURL
feature. Personally I prefer Fiddler [1] which though it does not have
such a feature (? I don't think so) it is easier to examine the data and
you can build your own curl command line.

[1]: https://www.telerik.com/download/fiddler



-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/

Loading...