cURL Guide

Upload test reports to Gaffer using cURL from the command line. Examples for single files, multiple files, and dynamic git metadata for any CI/CD system.

This guide shows how to upload test reports to Gaffer using cURL from the command line. This is useful for quick uploads, debugging, or integrating with custom CI/CD systems.

Prerequisites

  • A Gaffer account with a project
  • Your project's API key
  • cURL installed (available by default on macOS and most Linux distributions)

Basic Upload

The simplest upload with just a file:

curl