Show sent POST Values with Fiddler..How do i do that? - fiddler

I make some requests to a site and i want to see, what kind of variables has been sent to the server..
May be its possible with fiddler but i can't figure it out, how to do it..

You can do this in Fiddler using the following steps.
Locate the request in fiddler that relates to the post - you should be able to see the URL you expect in the URL column.
Select that line and the detailed view will open. There is a WebForms tab (inside "Inspectors") that displays the POST data in a neat table. You can also see it in the Raw tab, but it isn't nicely formatted like the WebForms tab.
I have made a screenshot to help you:

POST data can be seen in the Inspectors -> Raw window which will display the whole request along with POST data and headers.
EDIT: Yep... The Inspectors -> WebForms dialog would be another way however I usually don't make much use of it... Don't know why.

It works for me. Just click on the request in the Web Sessions pane, Then click WebForms tab within the Inspectors tab on the right.

I ran into this same problem but the answers here did not help me.
WebForms does not display json posted data. I figured out for posted json data, you need to check the Textview tab.
To summarise:
Inspectors->WebForms: will show you classic html form posted values.
Inspectors->Textview: will show you json and text posted values.

Related

urlread pound sign (#) doesn't work

Trying to read in the pricing lists under pricing information tab:
urlread( ' http://www.cefconnect.com/Details/Summary.aspx?Ticker=KYE#pricing ' )
But in url '#pricing' doesn't help.
Any suggestions?
As already pointed out by Darin, it's no use adding #pricing to the URL. The web page uses client-side techniques to switch between tabs; not something that can be used by urlread.
Summary.aspx always returns all tabs together as one big page. CSS and JavaScript make it look like a collection of tabs, when opened in a web browser.
Use the developer toolbar of your web browser to inspect the web page. For example in Google Chrome, just right-click on the section you are interested in, and select 'inspect element'.
I don't know what you are going to do with the result of urlread, but you'll probably have to do some parsing to distill the information you need from the HTML clutter.
Please note Summary.aspx launches additional HTTP requests to retrieve additional data. Use the 'Network' tab of Chrome's developer toolbar to analyze that behavior. For example, the following request is made when you click 'GO' after adjusting the pricing history filter criteria.
http://www.cefconnect.com/Resources/TableData/?Type=PricingHistory&Cusip=48660P104&param0=1M&param1=06/06/2014
At first, this seems to complicate the whole matter, but it may actually be a great opportunity. You can call urlread with the URL above, and get some data in JSON format, which is far less cluttered than HTML. Adjust the parameters to get different data. I'm not sure what 48660P104 is; it might be an internal representation of KYE. You may want to use an initial HTTP request to Summary.aspx to retrieve that code; you'll notice the webpage is littered with URLs containing the same parameter Cusip.
The # character has a special meaning in an url. It represents the fragment identifier and the value following it is never sent to the server. Only client side javascript can access it. You will need to url encode the value if you want to send it to the server:
urlread( ' http://www.cefconnect.com/Details/Summary.aspx?Ticker=KYE%23pricing ' )
This also stands true for other special characters. You need to properly encode them.

Query string is not coming in fiddler?

In the fiddler i choose the inspectors>webforms to see the query string for the request. But instead it is coming blank. Do i need to enable anything in order to get that? Or any other way. Please help me out.
The session selected in your screenshot is a JavaScript file that is used by the page in question. Its URL does not contain a query string. Instead, you should select the Session that represents the web page that includes this JS file.

RS2008 (not R2) - Hyperlink in a new window

I have a report in RS2008 (NOT R2) where I need one of the columns to link to a different site. I can accomplish this by going to Textbox Properties -> Action -> Hyperlink -> Go To URL -> Insert URL formula.
However, this URL by default consumes the parent window. There is a solution whereby you can insert some JavaScript (ex. JavaScript:void(window.open('[URL]','_blank')) into the URL formula and that also works like a charm.
The problem with that is that if the user then subscribes to the report, they get it via email. Since we use a desktop mail client (Outlook), JavaScript does not work!!!
So, it would be really nice if there was a way I could inject HTML in the cell so that the link works in browsers and desktop mail clients.
Any help?
In typing my question I found the answer, hurrah for ask the duck!
http://dinesql.blogspot.com/2010/05/reporting-services-2008-showing-html.html
Hope this helps the next poor sap that is using RS2008...

facebook like button not showing correct information - tried debugging

We are using a facebook like button on a gallery page. When you click the like button, the parent page information is provided instead of the "item" information - but when the link is shared individually on facebook, it pulls the right information.
I tried using Facebook's debug tool, and it pulls the correct information.. the issue seems to be when its on the page. I've checked the meta info and it all looks right...
Any ideas?
https://developers.facebook.com/docs/reference/plugins/like/
Put in the correct sub-link and generate the like button again > Test it first, directly in the like button generator.
If the data is shown correctly in the debugger, then i am pretty sure the problem is that you don´t use the correct/same link in the like button. It would be important to see your usage of the like button. It´s possible that you have an escape character problem, so only the basic link is used.

How to use Fiddler to get POST arguments for automatic form submission?

http://reserve.apple.com/WebObjects/ProductReservation.woa/wa/reserveProduct?lang=en&country=US&prelaunch=ALL
Apple seems to use AJAX (XmlHttpRequest) to dynamically populate the drop down menu when users submitting the form. When viewing the HTML source, value for the HTML Select Option is [Object Code]
How to use Fiddler to get the real value submitted so that I can write an automatic form submission script?
I downloaded Fiddler and set up breakpoint on POST and XmlHttpRequest. But I do not know exactly how to debug through Fiddler (first time to use it).
Thanks.
You don't need breakpoints for it. Let it run and look at right pane of Fiddler. There is "inspectors" tab, you are interested in "Web Forms" sub-tab that will show information you are looking for.