๐Ÿงช Test Baden GET Endpoint

Demonstrasi penggunaan endpoint Baden dengan metode GET

๐Ÿ“‹ Informasi Endpoint

URL: https://copilotproduction.site/api/in/baden
Method: GET
Authentication: Basic Auth
Target Table: orders

๐Ÿ” Informasi Authentication

Username: baden
Password: baden
Basic Auth Header: Basic YmFkZW46YmFkZW4=

๐Ÿ“Š Sample Data yang Tersedia

Endpoint ini akan menampilkan data dari tabel orders dengan struktur:

{ "success": true, "message": "Data retrieved successfully", "received_at": "2025-08-08T02:57:15.314077Z", "data": { "receiver_info": { "id": 1, "name": "Baden Basic Auth Receiver", "endpoint": "baden", "description": "Receiver for Baden System with Basic Authentication" }, "request_info": { "method": "GET", "received_at": "2025-08-08T02:57:15.314077Z", "ip_address": "127.0.0.1", "user_agent": "Mozilla/5.0..." }, "parameters": {}, "pagination": { "limit": 10, "offset": 0, "sort": "id", "order": "desc" }, "data": { "total_records": 5, "returned_records": 5, "records": [ { "id": 1, "order_id": "ORD-001", "customer_name": "Ahmad Dhani", "total_amount": "150000.00", "status": "completed", "created_at": "2025-08-08T02:30:00.000000Z" }, { "id": 2, "order_id": "ORD-002", "customer_name": "Siti Nurhaliza", "total_amount": "250000.00", "status": "pending", "created_at": "2025-08-08T02:35:00.000000Z" } ] } } }

๐Ÿš€ Test Endpoint

Klik tombol di bawah untuk menguji endpoint Baden dengan metode GET:

Response:

Klik tombol "Test GET Request" untuk melihat response...

๐Ÿ“ Contoh Penggunaan dengan cURL

# Basic GET request curl -X GET "https://copilotproduction.site/api/in/baden" \ -H "Authorization: Basic YmFkZW46YmFkZW4=" \ -H "Content-Type: application/json" # GET request dengan query parameters curl -X GET "https://copilotproduction.site/api/in/baden?limit=5&offset=0&sort=created_at&order=desc" \ -H "Authorization: Basic YmFkZW46YmFkZW4=" \ -H "Content-Type: application/json" # GET request dengan filter curl -X GET "https://copilotproduction.site/api/in/baden?status=completed&customer_name=Ahmad" \ -H "Authorization: Basic YmFkZW46YmFkZW4=" \ -H "Content-Type: application/json"

๐Ÿ”ง Query Parameters yang Didukung