changes.mady.by.user Stonebranch
Saved on May 09, 2023
...
$ curl -i -L 'http://hostname/api/transfers' -H 'Content-Type: application/json' -d '{ "rule": "rebex_receive_example", "partner": "rebex", "account": "demo", "isSend": false, "file": "wince*.png", "transferInfo": { "udmg_xfer_wildcard": true}}'HTTP/1.1 201 CreatedLocation: /api/transfers/160Date: Wed, 01 Mar 2023 13:57:58 GMTContent-Length: 0
$ curl -i -L 'http://hostname/api/transfers' -H 'Content-Type: application/json' -d '{
"rule": "rebex_receive_example",
"partner": "rebex",
"account": "demo",
"isSend": false,
"file": "wince*.png",
"transferInfo": { "udmg_xfer_wildcard": true}
}'
HTTP/1.1 201 Created
Location: /api/transfers/160
Date: Wed, 01 Mar 2023 13:57:58 GMT
Content-Length: 0
The result is the creation of a transfer record with the wildcard pattern, which executes as follow: