Does anyone know how to use Google Flight RPC or how to post a json array to it? The only documentation I've found for it is here. It shows the responses and part of the requests. I'm not sure how to build and post a json array using the following example from part 1 of the linked documentation.

Also, how do I set up the necessary headers using cURL?