Skip to content

My Web API Demo: This is a simple ASP.NET Web API that also demonstrates a RESTful api. It will calculate and return lucky lottery numbers based on either a default (api/values/) or custom HTTP Get Request (example: values?name=Kathleen&age=36). A RESTful API is an application program interface (API) that uses HTTP requests to GET, PUT, POST and…

Notifications You must be signed in to change notification settings

kathleenwest/myWebAPIDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

myWebAPIDemo

Project Blog Site: https://portfolio.katiegirl.net/2017/11/09/lucky-lottery-numbers-a-simple-asp-net-web-api/

My Web API Demo:

This is a simple ASP.NET Web API that also demonstrates a RESTful api. It will calculate and return lucky lottery numbers based on either a default (api/values/) or custom HTTP Get Request (example: values?name=Kathleen&age=36) with TWO input parameters in the request.

A RESTful API is an application program interface (API) that uses HTTP requests to GET, PUT, POST and DELETE data. A web API is an application programming interface (API) for either a web server or a web browser. ASP.NET Web API is a framework that makes it easy to build HTTP services that reach a broad range of clients, including browsers and mobile devices. ASP.NET Web API is an ideal platform for building RESTful applications on the .NET Framework.

How to Access API

default (http://...../api/values/)

custom HTTP Get Request (example: http://....../values?name=Kathleen&age=36)

Notes: This was one of my first experimental web api projects. I did not add documentation for the API (help) on the web server. This project was done in only a few hours. I've since taken a Web API course and will demo/add better projects in the future.

About

My Web API Demo: This is a simple ASP.NET Web API that also demonstrates a RESTful api. It will calculate and return lucky lottery numbers based on either a default (api/values/) or custom HTTP Get Request (example: values?name=Kathleen&age=36). A RESTful API is an application program interface (API) that uses HTTP requests to GET, PUT, POST and…

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published