Uploading XML

The Skytrace API supports uploading XML files via the UploadXMLData method. This method is part of the trace service.

Setup

First export the file you want to upload into and environment variable:

export XML_FILE=$(cat path/to/file/FILENAME.xml)

You'll need to create an API key in the web appliation.

Then run the following curl command:

curl -H 'x-api-key: YOU_API_KEY' -i -X POST https://app.skytrace.space/trace.Trace/UploadXMLData -d "{'msg': '$XML_FILE'}"