最終更新日:2022-01-26 09:03:20
This function allow customers to deploy custom data processing services, that is, customers deploy their own data processing software on cloud hosts, and WCS forwards file processing requests to customer-defined data processing services. The service flow diagram is as follows
This Function deploy the custom data service on the cloud host (detailed deployment steps are subject to the instructions of the cloud host), and provide the service address.
Note: The service address receives two parameters: cmd&url,
cmd is the customer's custom service name,
url is the file download address.
Log in to the console, enter the Custom Data Processing interface, and click the New Rule button
New custom data processing services:
http://<file_url>?ufop=<AppName>
After CDNetworks Object Storage get the ufop request, it will actively forward the request to the customer-defined data processing service. The forwarding format is as follows:
post service_address?cmd=<AppName>&url=<file_url>
Note: file_url uses URL-encoded encoding and must first be decoded using URLdecode
Parameter Description:
Parameter | instruction | Is it required |
---|---|---|
ufop | Custom data processing service name | Yes |
file_url | The download address of the file, which consists of the space-bound domain name/file name | Yes |
Return data description:
Note: The return data, error code is defined by the app.