You are here

Sample Source Code: Gemini Private API Curl Sample Code

The Gemini Private API Curl Sample Code demonstrates how to create payloads. All requests must contain a nonce, a number that will never be repeated and must increase between requests. This is to prevent an attacker who has captured a previous request from simply replaying that request.