LabVIEW Web Development Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

How to post text&file with "form-data"

My application need to post both text and file as following.

And I have tested it successfully with  postman.


I have tried content-type with "multipart/form-data" and the post could only post string or file as one time.

And the "post multipart" seems only support to upload file with name description.

 

Have been bothering for a long time. Hope someone could help me.

AGandhi_0-1658412526986.png

 

0 Kudos
Message 1 of 2
(1,196 Views)

Have you thought about using content-type JSON instead?

0 Kudos
Message 2 of 2
(1,169 Views)