I’m receiving this:
FormData {
MessagingServiceSid: '12345',
RetryCount: '0',
EventType: 'onConversationAdded',
State: 'active',
Attributes: '{}',
DateCreated: '2025-02-04T19:19:12.867Z',
ChatServiceSid: '12345',
'MessagingBinding.ProxyAddress': '12345',
'MessagingBinding.Address': '12345',
AccountSid: '12345',
Source: 'SMS',
ConversationSid: '12345'
}
How do I get the value 12345 out of of ‘MessagingBinding.ProxyAddress’: ‘1235’
Thanks in advance
I’m sure I’ve done this 100 times but for some reason today I just cannot figure it out.
I can get everything else by doing this:
const body = await req.formData()
const EventType = body.EventType
But I cannot figure out how to get they key value when the key is a string like ‘MessagingBinding.ProxyAddress’