The `input_sfw.json` follows the [Tensorflow V1 HTTP API](https://www.tensorflow.org/tfx/serving/api_rest#encoding_binary_values) for encoding image bytes. We encoded a test image `dog.jpeg` to a base64 string and encapsulated it in `input.json`.
The `input_(n)sfw.json`files follow the [Tensorflow V1 HTTP API](https://www.tensorflow.org/tfx/serving/api_rest#encoding_binary_values) for encoding image bytes. We encoded a test image `dog.jpeg` to a base64 string and encapsulated it in `input_sfw.json`. A NSFW image from commons was encoded as a base64 string and encapsulated in `input_nsfw.json`.
If everything goes fine, you should see the following output for `input_sfw.json`: