Requests & HTTP Methods 📡

FlintClient supports standard HTTP verbs, file uploads, query parameters, and custom serializers.

---

🎯 Supported HTTP Verbs

CodeBlock dart
// GET with query parameters
final users = await client.get(
  '/users',
  queryParams: {'page': '1', 'limit': '20'},
);

// POST with JSON payload
final postRes = await client.post(
  '/orders',
  body: {'item': 'Sensor Module', 'qty': 2},
);

// PUT update
final putRes = await client.put(
  '/orders/108',
  body: {'status': 'shipped'},
);

// PATCH partial update
final patchRes = await client.patch(
  '/users/42',
  body: {'theme': 'dark'},
);

// DELETE
final deleteRes = await client.delete('/orders/108');

---

📁 File Uploads (Multipart)

CodeBlock dart
final uploadRes = await client.uploadFile(
  '/users/avatar',
  fileField: 'avatar',
  filePath: '/path/to/profile.png',
  extraFields: {'userId': '42'},
);
Flint Dart logo
Flint EcosystemThe Unified Dart Technology Stack

One language powering Full-Stack Web, Cross-Platform Clients, Native AI, and Connected Robotics.

Fullstack
Client SDK
AI Engine
Hardware
Copyright 2026 Flint Dart. Maintained by Eulogia Technologies.
v 1.3.2
MIT License
Built with Dart