Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 609 Bytes

File metadata and controls

19 lines (11 loc) · 609 Bytes

Create-Simple-API-using-Python-Django-REST-Framework

Create Simple API using Python Django REST Framework

API for Getting Ideal weight for Men's Body

How to Use:

Clone Repo in your local system. Make sure you have all required django and python library installed in your system

Open Postman in your system.

Select POST dropdown and pass the URL 'http://127.0.0.1:8000/idealweight/'

Select 'Body' and pass height of person in meters (for e.g. 180cm has to be 1.8)

Pass '1.8' (any value of height in meters)

Click send and Boom!!! You will find result

"Ideal weight should be:74.52000000000001 kg"