JSON send/receiver

Hi all!
hello everyone!

I am starting to test this application, to make a very basic communication app to control and see the status of an industrial robot.
The robot is connected by WIFI and has several APis to communicate via TCP/IP.
It also has Modbus communication, and through this protocol I have managed to read/write data to the robot and control it, but I prefer to do it through the APIs as it gives me more control and is more powerful.
As I have just started working with Apphive, I have these doubts:

  • Can I send/receive a JSON file from the app I create, via TCP/IP?
  • Is it possible to do this communication via Modbus? The specific Modbus port is 502.

Thank you !!!