I am trying to make a rest call via the http connector. I build the payload as a string, then when I am trying to send it to the client, I am getting the following error:
org.mule.api.MessagingException: Error sending HTTP request. Message payload is of type: String
the string looks as follows:
{
"firstName": "Nathan4",
"lastName": "Tregillus",
"email": "[email protected]"
}
at this time I am just confused. is there only one type of body I can send?