How to record data send along api request on Google Cloud Platform

10/10/2019

I am trying to find a way to store or record the (json) data that is send with an API request from a client side.

I set up an API for a model via Google Kubernetes Engine in the Google Cloud Platform.

As an example, let's say the model is y = x + 2. If I send a request with data = 2, I get a response of 4; everything working fine. However, I wonder if I can log the fact that 'data = 2', was send to the API. If this is possible, how or where can I do this in the GCP?

-- FlyingComputer
api
google-cloud-platform
google-kubernetes-engine
rest

0 Answers