We would like to build a community for Small Basic programmers of any age who like to code. Everyone from total beginner to guru is welcome. Click here to register and share your programming journey!


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Any extension that can do HTTP post requests?
#2
Hi Yumda,

Fairly recently I added LDNetwork.SendWebRequest and LDNetwork.SendWebRequestAsync.  You can send an HTTP request and get back a response.  At the moment you would have to parse the JSON response in some way (its just a string).

Parsing JSON is a bit case dependent and a general parser implementation might be a bit beyond LD extension - is there something specific you are trying to do?

For example we use this with the 3D browser robot controller, see some of the examples there - https://litdev.uk/mybb/showthread.php?tid=223.
Reply


Messages In This Thread
RE: Any extension that can do HTTP post requests? - by litdev - 04-04-2025, 10:00 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)