nightingale-rest-api-client icon indicating copy to clipboard operation
nightingale-rest-api-client copied to clipboard

When importing from Postman body was an empty form-data should have selected "no body"

Open TheJoeFin opened this issue 1 year ago • 0 comments

I imported an item from a Postman request and when trying to send the request I got an error. However when I looked at the Postman request the body was empty, switching over to "no body" allowed me to send the request.

2 Questions,

  1. Should the error message be more helpful pointing out which required field was not provided?
  2. When importing from Postman if the body is empty then select "no body"?

Thanks for the app and being one of the best Windows app devs Daniel!

No valid form data items to add. Add an item or make sure all items have keys and they are enabled.
   at Nightingale.Core.Client.Builders.FormDataBuilder.<AddFormDataAsync>d__2.MoveNext() + 0x3c5

image

TheJoeFin avatar Oct 28 '24 19:10 TheJoeFin