Calling cloud function via rest api with user required

Hi guys,
I am trying to use Postman to call Moralis cloud function via rest api like following suggestion:
https://docs.moralis.io/moralis-server/cloud-code/cloud-functions#calling-via-rest-api

But when function has validation require user (requireUser: true), I don’t know how to pass user to request. Could anyone help me?
Thanks in advance.

you could look at parameters when you call that cloud function with a user and see there what it is needed, you can print the request/parameters with loger.info(JSON.strinfigy(request))

1 Like