APIAction(
url: url,//Replace this with the required url
method: APIRequestTypeConstants.post,//replace this with the type of method
dataKey: "cometchatData",//replace this with the key , if you want to replace the key oin which all the data for form will be sent
headers: header,//set the header for the request
payload: payload//set the payloaf forn the request
)