https://github.com/peroxy/diffapi
https://github.com/peroxy/diffapi
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/peroxy/diffapi
- Owner: peroxy
- Created: 2017-04-26T21:16:06.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-26T21:44:27.000Z (about 9 years ago)
- Last Synced: 2025-02-26T14:45:57.132Z (over 1 year ago)
- Language: C#
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DiffApi
ASP.NET Web Application used to determine the differences between the supplied JSON containing base64 encoded data.
### Usage examples (assuming it is hosted locally)
Send JSON containing base64 encoded binary data to the specified ID:
- PUT localhost:port/v1/diff/{id}/left, request body: {data}
- PUT localhost:port/v1/diff/{id}/right, request body: {data}
Fetch JSON containing final result with differences for the specified ID:
- GET /v1/diff/1/{id}
### Notes, assumptions, choices
- using .NET 4.5.2 framework, compiled with Roslyn, VS15
- temporary data storage provided by using Memory Cache with 1 day expiration date