PhotonCloudAPI > Photon Cloud Object > Send Web Rpc

Send Web Rpc

Makes Photon call your custom web-service by path/name
\see https://doc.photonengine.com/en-us/realtime/current/reference/webhooks-faq
\see OnReceiveWebRpcResponse
\details
A WebRPC calls a custom, http-based function on a server that you provide. The uriPath is relative to a "base path"
which is configured on the server side. The sent parameters get converted to Json. Vice versa, the response
of the web-service will be converted back, when it gets sent back to the Client, where it arrives in the OnReceiveWebRpcResponse event.

To use this feature, you have to setup your server:

For a Photon Cloud application visit the Dashboard and setup "WebHooks". The BaseUrl is used for WebRPCs as well.
\param url to call

Inputs

In
Exec

Target
Photon Cloud Object Object Reference

Url
String

Outputs

Out
Exec