Closed Bug 1421943 Opened 7 years ago Closed 5 years ago

Add a way to copy raw data in the params panel

Categories

(DevTools :: Netmonitor, defect, P3)

57 Branch
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1514750

People

(Reporter: zazcallabah, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
Build ID: 20171112125346

Steps to reproduce:

1. Open dev tools network monitor
2. Visit a page that makes a POST request (or PUT, or PATCH)
3. Select the request in the network monitor list, and open the Params tab


Actual results:

it shows the formatted request payload.

If the actual posted data was from a web form it will show a list of key value pairs.
If the posted data was in json format it will remove a lot of the json syntax, and display a formatted tree-like version of the json object.


Expected results:

The formatted payload is good. It should be there. But there must also be some way to see the raw string that was uploaded, similar to how there is a "response payload" section under the response tab.

For json data, I really need to be able to just copy the entire valid json object. (So I can easily reproduce tricksy webrequests while debugging sites.)
For form data, it would be nice to be able to view the original urlencoded string. ("field1=value1&field2=%C3%B6value2")
Status: UNCONFIRMED → NEW
Component: Untriaged → Developer Tools: Netmonitor
Ever confirmed: true
Summary: No way to show raw request payload in the dev tools network monitor? → Add a way to copy raw data in the params panel
Yes, I agree. There should be a way to see raw posted data.
Honza¨
Priority: -- → P3
Actually there is a way. 

After status code , click on "Edit and Resend"
Copy Raw request body.
Product: Firefox → DevTools
"Edit and Resend" is great, but not intuitive. +1 adding more obvious view and/or copy raw POST payload to the "params" tab of the network request details view.
@Anoop Kumar - This doesn't work, all it does it close the request view (probably another bug). It's hard to believe something so obvious is lacking. It's really annoying having to open up chrome to do this stuff.
I have been able to do this by doing the following:

1. right clicking the request in the network tab
2. then select "Copy"
3. then select "Copy POST Data"

Hi!

I think this the duplicate of Bug 1514750. It has now been resolved! So we can mark this one also as Resolved.

Hemakshi

Flags: needinfo?(odvarko)

Agree, marking as dup.

Thanks Hemakshi!

Status: NEW → RESOLVED
Closed: 5 years ago
Flags: needinfo?(odvarko)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.