Internet Explorer (if JSON result) will automatically ask you to download the response. Just makes it slightly more inconvenient.
http://localhost:your-port-number/odata/Todos
Try several OData calls:
Single result:
http://localhost:your-port-number/odata/Todos(1)
Following a Foreign Key reference:
http://localhost:your-port-number/odata/Todos(1)/UserCompletedBy
Filtering:
http://localhost:your-port-number/odata/Todos?$filter= Completed eq false
http://localhost:your-port-number/odata/Todos?$filter= Finished eq false
http://localhost:your-port-number/odata/Todos?$filter= Finished eq true
Getting entity set count:
http://localhost:your-port-number/odata/Todos/$count
Requesting output content type:
http://localhost:your-port-number/odata/Todos?$format=json
You'll notice $count
and $format
are not supported. We'll check on those in the next section.