Skip to main content

REST API Patterns

This guide demonstrates common HTTP API operations with Fluree, showing curl examples for all CRUD operations.

Base URL

All examples assume Fluree is running at:


http://localhost:58090/fluree

Available Endpoints

EndpointMethodPurpose
/createPOSTCreate a new ledger
/transactPOSTInsert/update/delete data
/queryPOSTQuery data
/historyPOSTQuery historical data

Authentication

For secured deployments, include an authorization header:


-H "Authorization: Bearer YOUR_TOKEN"

See the detailed examples in the following pages.