/HNGX_BackEnd_StageTwo

HNGX Internship Back End Stage Two Task

Primary LanguageJavaScript

SETTING UP THE PROJECT

The API is hosted on render and can be accessed on : [https://hngx-backendend-stagetwo.onrender.com/api]

The person resource is made of three parameters

  1. name -> full name of the person
  2. gender -> the gender of the person
  3. age -> the age of the person

USE POSTMAN TO TEST AND PERFOM CRUD OPERATIONS ON THE API

CREATE

Pass data as raw data in JSON format like

{ "name": "Paris Mombe", "gender": "female", "age": 6 }

READ

the id of the person that was returned when you made a post request

UPDATE

Pass data as raw data in JSON format like

{ "age": 8 }

DELETE