Hello,
I would like to call an API using PHP. The client gave me the below details only
POST request for https://domain/notification/send with a body:
{
"NotDisturb": false,
"Time": "2018-01-02 23:59:59",
"address": [
{
"channels": [{
"type": "PUSH",
"subtype": "ADM",
"channelidentifier": "55555555555",
"channelContent": {
"subject": "Hello",
"subjectOther": "Hi",
"body": "bla bla",
"bodyAr": "Bla bla bla",
"parameters": [
{
"key": "key_1",
"value": "value_1"
}
]
}
}]
}
]
}
I need one fine script which can achieve this
You need to call an API and send that information that seems to be the content of an Email, for the API to send the information and I imagine that you should get a response, from the API, that the email was sent with success or failure sending the email. I would like to know a little more detailed your requirement, but from what I see I can help you very easily
i will do it
i will do iti will do iti will do iti will do iti will do iti will do iti will do iti will do iti will do iti will do iti will do iti will do it