HomeGuidesAPI Reference
GuidesAPI ReferenceGitHubAirheads Developer CommunityLog In

The POST method is used to send data to create a resource specified by the URI. The resources you are creating is sent in JSON format in the request body.

📘

Don't forget the Auth Key!

When performing these methods, you must already have the Auth Key as outlined in the Getting Started with the AFC API section.

Example: Creating a new Fabric

When using POST methods, a body is often required to have specific values in order for the request to be accepted.

For creating a new Fabric, a name, timezone, and password is required. An example post would be:

{
  "name": "fabric-01",
  "description": "",
  "timezone": "Asia/Calcutta",
  "password": "2jBTy@kwxpR=MSdC"
}