Skip to content

angelhtml/deep_space_network_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deep_space_network_api

dsn

live deep space network API 📡

Install all packages

npm install

run the api server

npm run api

🟠using the post method to get the data

Get the stations data

POST / HTTP/1.1
Host: localhost:3001
Content-Type: application/json
Content-Length: 30

{
    "request": "station"
}

Get the antennas data

POST / HTTP/1.1
Host: localhost:3001
Content-Type: application/json
Content-Length: 30

{
    "request": "dish"
}

Get the all data

POST / HTTP/1.1
Host: localhost:3001
Content-Type: application/json
Content-Length: 30

{
    "request": "all"
}