Pages

Bài đăng phổ biến

Showing posts with label Create shortlink with custom domain with firebase dynamic link by curl. Show all posts
Showing posts with label Create shortlink with custom domain with firebase dynamic link by curl. Show all posts

Friday, November 18, 2022

Create shortlink with custom domain with firebase dynamic link by curl

curl  'https://firebasedynamiclinks.googleapis.com/v1/shortLinks?key=xxxx' --header 'Content-Type: application/json' --data '
{
"dynamicLinkInfo": {
"domainUriPrefix":"https://yourdomain",
"link":"https://yourlinkyouwant_to_redirectto",
     "analyticsInfo": {
      "googlePlayAnalytics": {
        "utmSource": "nhannguyen",
        "utmMedium": "test",
        "utmCampaign": "smartpos"
      }
    },
},
  "suffix": {
    "option": "SHORT"
  }
}'