Rest API Class

Project: Armament
Role: Game Programmer
Completed: 88.28 Cpl Lead Robert Peric Game Programmer
Start Date: 5/25/2018 11:31
End Date: 6/8/2018 08:37
Objective
We need a class to get data from a database sql.

Ok Let change this a bit to create a Rest API that we can use.  We need one normal windows console application to house data to get and receive then we need unity to have a rest api class to get and set that information.

We want this in a json format when going from point a to point b and then we want it to be house in a model data class when used inside of the applications server side or client side.
Rest API Class

Assets
No Public Asset Available

Complete Task
1.00 HR.
Reading about REST api and getting familiar with it.

1.50 HR.
Writing console application part.

1.00 HR.
found better way to deserialise json in console.

1.00 HR.
Working on implementing console part aggain

0.50 HR.
I made rest api that get data from my server, tomorrow will finish that.

1.00 HR.
Added method to Put() data to server, checked in for review to see what do you guys think, not 100% sure this is all done.


Liaison

Hello, Just wanted to check in with you and see how things where going?


Hi James, I’m having a tough time getting started.  I’m doing a lot of reading trying to figure out where to download what the team has done so far.  I’m also not sure what sort of database the project uses to start writing the SQL Data class.  Is the dataclass suppose to have a bunch of getters and setters for the data in the database, and does it need methods for displaying the data?  Thank you for checking in with me.

Brad


@Brad Hello I have changed the scope of this agenda to allow more a much better understanding of what we are trying to do.  Please review it and let me know if it is something you can still do.

The sql server part will come on the server side so we need a rest API first with a dumb server for the moment just to seen test data with no SQL at this time.  We will implement that next after we have communication working between client and server using rest json.


@James, can you provide me with some test data so i can model json and test API?


let keep it simple with something like below.

{ "name":"John", "age":31, "city":"New York" }