Obsolete doc? Realm GraphQL request header for API Key

tl;dr: api-key needs to be apiKey?

I followed the instruction below:

In the API Key section, there’s a code saying:

   --header 'api-key: <User or Server API Key>' \

but this causes an error: "error":"no authentication methods were specified"

I modified it slightly with some guessing, like:

   --header 'apiKey: <User or Server API Key>' \

And I got the correct response. Please check if it is correct.

1 Like

Hi @Toshi,

Thanks for this feedback I will test and if this is correct I will contact our documentation team to fix .

Best
Pavel

1 Like

Hi @Toshi,

Thanks for raising this I’ve opened an internal discussion to fix this.

Best regards,
Pavel

1 Like

My pleasure. Kudos Realm team!

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.