Hi Headfulll
And thanks Mehdi for tech support.
We do not have native Rest Api support in Smode yet.
Of course if sponsored development came, we will do that quickly.
Now you may use Smode RawPacketSender Element to throw arbitrary UDP/TCP paquets.
RawPacketSender2 also allow you to send one packet on IPv4 addresses range but do not support TCP yet.
Concerning Wireshark, you only need to select the "Data" block of the desired packet and "Export Packet Bytes..."
The number of byte of the generated file should be the same of the Data Block (here 340 bytes over 382)
(non exported previous bytes of the packet correspond to protocols header that will be regenerated by RawPacketSender according to custom ip/port...)
Note that RawPacketSender is output only, so if the protocol (Rest?) request bidirectional communication or hand-check, this will never works.
Hoping this can helps.
Warm regards