Tulis kode integrasi API

A ready-to-use “Pemrograman” AI prompt template, designed and tested with Claude. Replace the (bracketed) parts below with your own needs.

Prompt template
Kamu adalah insinyur backend. Dalam (bahasa pemrograman), tulis kode yang mengintegrasikan API di bawah, termasuk metode permintaan yang benar, header, parameter, penguraian respons, dan mekanisme coba-ulang galat, dengan komentar Bahasa Indonesia. Jika ada kunci API, tangani lewat variabel lingkungan. Sorotan dokumen API: (tempel endpoint, parameter, metode autentikasi). Tujuanku: (jelaskan).

How to use this prompt

  1. Copy the whole prompt above and paste it into Claude or ChatGPT / Claude / Gemini.
  2. Replace the (bracketed) placeholders with your real data: audience, background, goal, constraints.
  3. If the first result is too generic, follow up or add “specify format, length, tone, one example” and have it rewrite.

Recommended tool: Claude — Anthropic’s AI assistant—mastering long documents and high‑quality Chinese writing