Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69603

HTTP POSTMultipart upload JSON file - error 363514

$
0
0

Hello, I need help figuring out how to translate clicking of a button "Restore configuration" in web browser to LabVIEW syntax. This is what source code looks like and what it looks like in Chrome - I need to use POST method with content type "multipart/form-data"

 

Screenshot 2024-02-06 121328.png

Screenshot 2024-01-31 100621.png

https://www.ni.com/docs/en-US/bundle/labview/page/uploading-files-using-web-services-real-time-windows.html

 

I was following this tutorial by LabVIEW to upload that file, but it doesn't look like I got syntax correctly, I get error 363514, my code is attached. 

 

 

Screenshot 2024-02-06 122904.png

 

Any suggestions where to continue looking? I've tried changing the header by using Accept to match that of Chrome, but I keep getting the same error. I know that JSON file definitely has correct structure and I have not issues using LabVIEW to send GET commands to the web page to download a file, force log out, etc., I only struggle with implementing this multipost button. 

 

Many thanks

 


Viewing all articles
Browse latest Browse all 69603


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>