Prompt API

Go HTTP Handler

Implement a clean HTTP handler using stdlib net/http or a router.

goapi
Insert label HTTP Handler
Prompt

Implement an HTTP handler for this endpoint. Use standard net/http patterns (or chi/echo if already in use), parse and validate the request, call service logic, return proper status codes and JSON responses, and handle errors with consistent error shapes.

Add this to your Facet Inserts in Crystl for one-click access.

Get Crystl