Skip to content

Results for “rest api”

2 prompts

Write a TypeScript client for the [API name] REST API covering [endpoints]. Include typed requests and responses, auth handling, retries with backoff, timeouts, helpful errors, and usage examples.

ChatGPT
Coding & Development

API client SDK wrapper

A typed wrapper around a third-party REST API.

0

Act as a senior backend developer. Framework: [e.g. Express, FastAPI, Laravel, Django REST, Spring Boot] Database/ORM: [e.g. PostgreSQL + Prisma] Endpoint: [METHOD /path] What it does: [description] Request body/params: [fields and rules] Auth: [public / logged-in user / admin] Write: 1. The route/controller code 2. I…

ChatGPT
Coding & Development

Build a REST API endpoint with validation

Generate a production-ready API endpoint with input validation, error handling, status codes and tests in your framework.

0