Skip to content

charisad/DroneProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DRONE PROJECT MUSALA SOFT

Pull Dependencies and Run

mvn  install
mvn spring-boot:run
  1. Drone Registration

    curl --location --request POST 'http://localhost:8089/api/drone' \
    --header 'Content-Type: application/json' \
    --data-raw '{
        "model": "LIGHT_WEIGHT",
        "weightLimit": 500,
        "batteryCapacity": 100
    }'
  2. Load Drone with Medication

    curl --location --request PUT 'http://localhost:8089/api/drone/1' \
    --header 'Content-Type: application/json' \
    --data-raw '{
        "name": "drone1",
        "weight": 500,
      
        "image": "shorturl.at/fiAEM"
    }'
  3. Find Available Drones

    curl --location --request GET 'http://localhost:8089/api/drone/available'
  4. Get Drone or Get Drone battery

    curl --location --request GET 'http://localhost:8089/api/drone/1'
  5. Swagger UI

    curl --location --request GET 'http://localhost:8089/swagger-ui/#/'

About

Musala Soft Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages