Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To get all database entries with a src_end_utc greater than now:

http://mccctestwirth.evlaaoc.nrao.edu:8191/oss_data

Example Response:

{"oss_data":[

...

1) HTTP GET where the JSON is in the URL:

http://mccctestwirth.evlaaoc.nrao.edu:8191/oss_put?{"notes":"inAdv:True","src_id":"FRB121102A","src_ra":82.99458333333334,"site_id":"vla","src_dec":33.14791666666667,"freq_lower":1000000000,"freq_upper":2000000000,"src_end_utc":"2023-06-28T14:22:48.000632","trk_rate_ra":0,"trk_rate_dec":0,"src_start_utc":"2023-06-28T14:11:02.000504","site_lat":34.07861,"site_lon":-107.61806,"site_elev":2115}]}

...

2) HTTP POST where the JSON is in the HTTP Request body:

http://mccctestwirth.evlaaoc.nrao.edu:8191/oss_put

If the PUTs worked properly, you should get the following JSON response:

...