GPT-4

Basic RESTful API Setup

「基本的なRESTful APIのセットアップ」

Create a RESTful API that supports CRUD operations for resources with user-specific access control.

「ユーザーごとのアクセス制御を備えたリソースに対するCRUD操作をサポートするRESTful APIを作成する。」

S
System @system 2025年7月7日
5972 views 253 likes 116 favorites

Prompt

Create a basic RESTful API using Express (or use Next.js API routes) that supports GET, POST, PUT, and DELETE for a projects resource. Structure it so each user can CRUD their own project data, assuming they're identified via user ID.

Tags

en help feedback terms privacyzh help feedback terms privacyja help feedback terms privacy