Short key hosting is similar to the short chain API. Developers can convert long information of no more than 4KB into short key through GenShorten, and then restore the short key to long information through FetchShorten
1. Short key hosting (GenShorten)
String shortUrl = wxMpService.genShorten("www.baidu.com", 2592000);
- Description of request parameters
parameter | Is it necessary | type description |
---|---|---|
long_data | yes | string |
expire_seconds | no | int |
- Response parameter description
parameter | illustrate |
---|