I have a problem with http VIâ€™s and external web services (RESTful) and Iâ€™m using LabVIEW 2013.
In NetBeans I create a project with a GET web service from a table in MySQL, so I use http VIâ€™s for accessing the service (blog diagram .png), receiving the information in JSON (front panel.png) and took the information I needed (in this case the â€œslActualValueâ€ value).
I have a program that inserts new values in the database and in chrome the service works fine but if a want to do the Vi in a while loop to update or receive new values, the the next JSON data form the web service is the same as the first call, but if I go to the NetBeans project and do the deploy again the JSON data changes.
I ask about this problem from the experts in web services (RESTful) and they say that is the cookies in the LabVIEW program, so I create add a cookie file .txt but im not confident about the format of the file(the example is in this post) or if there something amiss in the LabVIEW VIâ€™s
# Netscape HTTP Cookie File
# This file was generated by libcurl! Edit at your own risk.
UNKNOWN FALSE 10.18.9.32:8080/arto FALSE 0 ID 0