You are on page 1of 1

have several webAPIs developed in MVC WebAPI such as

public IHttpActionResult SendBroadcast(FinalPayload FinalPayload)

And I want to call another web api from inside this API. All my APIs are in the same
application. The signature of the second API is

public IHttpActionResult SendMessage(Notifications)

From the first API i tried

and got error message something like reference to static object ....

I wanted to know if this way of calling webAPI is allowed or do I have to invoke a web
client or similar such.

Any help in this will be much appreciated.