RE: TeraScript-Talk: JSON post to API endpoint

2023-07-23 Thread Robert Shubert
You have access to the HTTP header using the <@HTTPATTRIBUTE> tag. Note that <@HTTPATTRIBUTE Full_Header> will return everything in an array, which you can then parse to get custom headers. The payload of the request is available in <@HTTPATTRIBUTE post_args> TS7 can't parse json and

RE: TeraScript-Talk: Help Desk App

2023-07-23 Thread Robert Shubert
The image (binary) data needs to be captured and sent to TS using multipart form encoding (same as the kind of form you need when there's a file input present) There are JS tools that can do this for you. In TS you can access the binary data of the image just like any other argument (with