Jump to content
Vicente

Failed when I try to POST

Recommended Posts

Hello,

I have created a FAKE SERVER with Visual Studio Code. The file db.json of that server contains information about animals (consumption and weight).

imagen.png.a18f0a94227ee144f65d7ffabb2b6ade.png

From LabVIEW, I've made a simple vi that GET the information and POST the new information generated randomly. I'm able to GET the information, but when I try to POST consumption or weight information, an error occurs.

imagen.png.9bef5b5ba914e8af0e25de56eb2d167c.png

The error 500 in the console from Visual Studio code is this:

imagen.thumb.png.a5ee67a33755f83cffc7050ed8573d86.png

I don't know whether the problem is the vi or the FAKE webserver. I'm a completly newbie in this field.

Your help is appreciated. Thank you in advance.

 

prova4.vi

db.json

Edited by Vicente

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.