Introduction

Composing requests in Fiddler is easy (just use the ‘Composer’ tab). However, by default, fiddler is set to do ‘GET’ requests – which is what a majority of users seem to be interested in testing. How about if you wanted to test say – a file upload? You would have to work with a POST request – and one that allowed you to upload (send) binary data. How does Fiddler accommodate this?

Fiddler POST

First, select the POST in the parsed ‘composer’ request window. Now that you are ready to POST, you need your binary data (the file you are trying to upload). Since it will be part of the request body (as opposed to the header), all you need to do is paste the binary contents of the file into the ‘request body’ area. The image below should help clarify these two options.

 

POSTing_in_Fiddler

Anuj holds professional certifications in Google Cloud, AWS as well as certifications in Docker and App Performance Tools such as New Relic. He specializes in Cloud Security, Data Encryption and Container Technologies.

Initial Consultation

Anuj Varma – who has written posts on Anuj Varma, Hands-On Technology Architect, Clean Air Activist.