I want document the RPC function for nakama console

Here pre-define API explorer such as AddFriend
has

{
  "ids": [
    "<string>"
  ],
  "usernames": [
    "<string>"
  ]
}

When i create RPC function how is add the request body as example.

Hello @developerdinno, at this time there is no way of adding the expected request body for custom RPCs to the console.

@sesposito Ok thank you sir.
And one another question.
I am unable to pass the context userId when I use Postman to test the RPC.

URL (GET request):

http://localhost:4004/v2/rpc/join_or_create_match_rpc?http_key=defaulthttpkey&unwrap

raw/json is:

{
    "payload": "doe"
}

How i can send context on postman.

The context is populated based on the user session, you need to authenticate user and set the ‘Authorization: Bearer ’ header with the returned token.

@sesposito Thank you so much sir.