Hi Forum
I'm trying to start making an ap that contains 3 - 6 buttons called
Environment1 to Environment6.
I have been reading and reading on how to do this, with xcode/swift, but i think i'm stucked.
I have a Controller API that listens to xml commands on its port http://ServIP:8000/xmlcommand/
A typical http post command will look like this: e.g issued either on a command line or via postman.
http://ServIP:8000/xmlcommand/
XML Command:
<Commands>
<command type=\"open\">
<name>environments/Environment1.hwe</name>
<id>Environment1</id>
<trans>1.0</trans>
</command>
</Commands>
Anyone have an example they could share how to create a button that actually send this XMLcode to the API when pushed?
Thank you in advance.
/Michael