Thanks for those who provided ideas on this.

 

What eventually ended up being the best option was this project:

 

https://github.com/JanneMattila/Echo

 

I just published it to an Azure Web App, and it simply shows on the main web page, every request of any type that's sent to a specific subfolder.  Works great, and shows the raw request.

 

Regards,

 

Greg

 

Dr Greg Low

 

1300SQLSQL (1300 775 775) office | +61 419201410 mobile

SQL Down Under | Web: https://sqldownunder.com | About Greg:  https://about.me/greg.low

 

From: Preet Sangha via ozdotnet <ozdotnet@ozdotnet.com>
Sent: Monday, March 27, 2023 6:27 PM
To: ozDotNet <ozdotnet@ozdotnet.com>
Cc: Preet Sangha <preetsangha@gmail.com>
Subject: Re: Postman help please

 

 

 

Apologies for the spam:

 

regards,
Preet, in Auckland NZ

 

 

 

On Mon, 27 Mar 2023 at 20:22, Preet Sangha <preetsangha@gmail.com> wrote:

Ok it's working now:

 


 

regards,
Preet, in Auckland NZ

 

 

 

On Mon, 27 Mar 2023 at 20:20, Preet Sangha <preetsangha@gmail.com> wrote:

Sorry, I now get the same as you :-( Forget what I side

 

regards,
Preet, in Auckland NZ

 

 

 

On Mon, 27 Mar 2023 at 20:16, Preet Sangha <preetsangha@gmail.com> wrote:

I'm no whiz but I sent something akin to what you said to a test site

 

 

 

 

and this is what I got:

 

Which seems like it got through.

 

Did I set it up correctly?

 

 

regards,
Preet, in Auckland NZ

 

 

 

On Fri, 24 Mar 2023 at 13:32, Dr Greg Low via ozdotnet <ozdotnet@ozdotnet.com> wrote:

Hi folks,

 

Anyone a gun on Postman?

 

I’m trying to debug a file upload.

 

  • I create a request that looks like the typical request, including a body saying form-data and with a key of file and a value set to File with an uploaded file.
  • I save a 200 response for it.
  • I choose to mock the collection and create a server.
  • I start a new request pointing to the mock server, and set the body the same way as before.
  • I send the request.

 

In the server logs, I see this:

 

 

The content-length looks about right. The content-type does say multipart/form-data, and has a boundary, etc.

 

But the body is empty.

 

Is there some trick to getting it to log the body? That’s what I’m trying to see.

 

Regards,

 

Greg

 

Dr Greg Low

 

1300SQLSQL (1300 775 775) office | +61 419201410 mobile

SQL Down Under | Web: https://sqldownunder.com | About Greg:  https://about.me/greg.low

 

--
ozdotnet mailing list
To manage your subscription, access archives: https://codify.mailman3.com/