Compare Files
POST http://localhost:8000/api/v1/compare
Request Body
[{"name"=>"file1", "value"=>nil, "datatype"=>"null"}, {"name"=>"file2", "value"=>nil, "datatype"=>"null"}, {"name"=>"user", "value"=>"1", "datatype"=>"number"}, {"name"=>"areas_of_focus", "value"=>"privacy", "datatype"=>"string"}, {"name"=>"areas_of_focus", "value"=>"paymets", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: Created
{"title":"Warranty Disclaimers","company_1":"Netflix","company_2":"Spotify","comparison":"Netflix provides the Netflix Service 'as is' and 'as available' without any warranties of any kind, whether express, implied, or statutory. Spotify also provides the Spotify Service 'as is' and 'as available' without any warranties of any kind, however, Spotify and all owners of the content disclaim any express, implied, and statutory warranties regarding the content, including warranties of satisfactory quality, merchantability, fitness for a particular purpose, or non-infringement."}