Ok it's working now:

image.png


image.png


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


image.png


and this is what I got:


image.png

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/