API Example

Added a /log api with example file.