I want to build an Azure Function that responds to HTTP POST
requests coming from another Azure function i.e. MasterFunction
calling NotificationsFunction
.
Say, I have the following simple POCO object:
public class Car
{
public string Make { get; set; }
public string Model { get; set; }
public int Year { get; set; }
public int Mileage { get; set; }
}
Both functions will be sharing the same class library containing these POCO objects.
Am I right to assume that in the MasterFunction
, I'll have to serialize my Car
object to JSON
, then make an HTTP
call?
Could someone point me to some code samples on a similar scenario?