Question

Unsure how to use the Key field in Webhook

  • 25 August 2020
  • 3 replies
  • 45 views

Userlevel 1

I have an URL that returns JSON, however I don’t know what to use as the Key. The data looks like this:

{
 "drinkName": "Bacardi Special",
 "glass": "Martini glass",
 "glass_url": "https://xxxxxxxxxxxxxx",
 "directions": "SHAKE all ingredients with ice and fine strain into chilled glass.",
 "measure": [
  {
   "amount": "1 1/2 fl oz",
   "selection3": "Bacardi Carta Blanca light rum"
  },
  {
   "amount": "3/4 fl oz",
   "selection3": "Rutte Dry Gin"
  },
  {
   "amount": "1/2 fl oz",
   "selection3": "Lime juice (freshly squeezed)"
  },
  {
   "amount": "1/4 fl oz",
   "selection3": "Giffard Grenadine Syrup"
  },
  {
   "amount": "1/6 fl oz",
   "selection3": "Giffard Sugar Cane Syrup"
  },
  {
   "amount": "1/3 fl oz",
   "selection3": "Chilled water (omit if using wet ice)"
  }
 ],
 "image": "https://xxxxxxx/contrib/stock-images/2016/x/xx/xxxxxxxxxxxxxxxxxxxx.jpg"
}

I am a complete rookie when it comes to webhooks so looking for some guidance.

 

Thanks.


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

3 replies

Userlevel 7
Badge +12

Do you mean the “Pick Off a Child Key” field?
If yes, that field is OPTIONAL.

 

Userlevel 1

I got it figured out. Appreciate the help.

Userlevel 7
Badge +7

@kenitafarms glad you figured this one out! Would love to hear how you cracked it and I’m sure other folks would find it handy as well!