I have a custom metadata which store some parameters which I need to pass in Post callout.I have stotred the Options in below JSON in that custom metadata
{
"email": "[email protected]",
"options": {
"validateRegex": true,
"validateMx": true,
"validateTypo": true,
"validateDisposable": true,
"validateSMTP": false
}
}
I have a LWC which pass email from front end to back end. But I want to know, How can I add that email to a JSON in above with custom metadata and create a http request body with that? Is it a possible functionality in apex?