0

I have generated a .NET Core 6 C# httpClient with NSwagStudio from a json file that is used in my winform application. To test this client Im using mock service in Postman.

Postman reacts with "No matching requests" so I need to add a request example. The problem is that I don't know how it looks like? So how can i log the request that then can be added to postman?

I have looked at the HTTP logging but it seems like it do not log RAW json files and it's mainly for ASP.NET Core.

So how can I get a proper request doc to add in postman?

Banshee
  • 15,376
  • 38
  • 128
  • 219
  • 1
    Have you tried using Fiddler to capture the request? (Or Wireshark to be even lower level.) That way you know exactly what's on the wire, with no interpretation. – Jon Skeet Mar 10 '23 at 10:26
  • Tried it but my laptop will not let wireshark log any traffic. – Banshee Mar 10 '23 at 11:09

0 Answers0