How to create rest api for display Employee information using

I developing rest api for employee information using emloyee id. Could you please share knowledge on what are steps required for my project. 

Solution

Hi Pratiksha,

Please go through this documentation in order to understand how to expose a REST API.

At the bottom, there are also some training exercises, one of which is 'exposing application data using rest get'. The exercise is about exactly what you are trying to achieve: Exposing an EmployeesAPI! 

You can download the Lesson Materials at the bottom and follow the instructions explained in the pdf.


Have fun!

Regards,

Nordin

Solution

For Developing rest API, is it necessary to create different applications for exposing data and consuming data?

Hi Pratiksha,

Ask yourself this, if the consumer and producer of the API is the same application, why you would need an API in the first place?

Regards,

Daniel