Сравнение постов

Различия между постами #120790 (25.04.2019 15:53) и #240266 (04.12.2021 15:38).
1
13     () as ResultSms = SendSMS(Token) {
2
 12       param
3
 11         message: "Hi from SPL!)";
4
 10         channelName: "SMS";
5
  9         contact: "87471377154";
6
  8         resource: $sendUrl;
7
  7         //access_token: Token.access_token;
8
  6         //token_type: Token.token_type;
9
  5     }
10
  4 }
11
  3 
12
  2 composite SendSMS(input IN) {
13
  1   param
14
  0     expression     $message;
15
  1     expression     $channelName;
16
  2     expression     $contact;
17
  3     expression     $resource;
18
  4     //expression $access_token;
19
  5     //expression $token_type;
20
  6   type
21
  7     SMS = tuple;
22
  8   graph
23
  9     (stream SmsResponse) = HTTPPost(sendSMS as InputStreamName0)
24
 10     {
25
 11       param
26
 12         url : $resource;
27
            // CDISP0302E ERROR: A value name is expected, but the IN identifier is not a value in this scope. 
28
 13         extraHeaders : "Authorization: " + IN.token_type + " " + IN.access_token;
29
 14