#SendReply holds what the server sent back to the last send line of the forms get,
post, put and delete: the page or the data, byte for byte, its line breaks included. It reads N/A
until the script’s first such line, and again when the script is started over. The original
send httppost leaves it alone: it runs its reply instead.
- After
download, it is empty when the file was saved; when it wasn’t, it holds what the server sent instead, such as its error page. - When no answer came, or the answer was over 1 MB, it is empty:
#SendRessays why. - Nothing in it is run. Take it apart with
str:str pos,str part,str mid.
Example
Section titled “Example”A page that answers a line such as price=1200;stock=8:
send get https://example.com/euo/price.txtif #SendCode <> 200 haltstr part #SendReply price= 2str part #StrRes #SMC 1set %price #StrResdisplay ok The price is %pricehaltReforged notes
Section titled “Reforged notes”#SendReply is new in EasyUO Reforged, with the new forms of send.