SpaceX launches: write to your local file system

Number of APIs: 2

From this blog post about [using Qodex to write to your local file system] this is an example of pulling data from this open source REST API for SpaceX data, and writing to a local file.

Quickstart

  1. Write a script that listens for POST requests and writes payloads to your local file system. Here's a node.js example.
  2. Install any dependencies, run the script, and start your local server. run local server
  3. Run this Qodex collection that submits a GET request for launch data and then submits a POST request to your local server. collection runner
  1. SpaceX past launches GET https://api.spacexdata.com/v2/launches

  2. Send data to local server POST http://localhost:3000/launches