Postman usage with Nakama

Hello everybody! Im trying to use postman to test some RPCs I made on the server, but lack any experience with postman, my previous test where done using the unity editor and custom functions.

Im getting the following error:

{
“error”: “Auth token or HTTP key required”,
“message”: “Auth token or HTTP key required”,
“code”: 16
}

This was obviously returned by the server, but I can’t seem to being able to add the key (defaultkey) in postman, any guidance on how to do this?

Edit: Managed to establish the conection and now I have this error from the server:

{
“error”: “json: cannot unmarshal object into Go value of type string”,
“message”: “json: cannot unmarshal object into Go value of type string”,
“code”: 3
}

I guess that my sent data its not designed correctly, right?

Hello @KittySkin,

If you’re sending raw json payload with Postman, you need to add the unwrap query param, you can add it to your request in the Params tab. A value is not needed, this should fix your issue.

Thx a lot! Worked like a charm :smiley: