[GH-ISSUE #1139] Add cURL (or similar) section in the documention #17243

Closed
opened 2026-04-15 15:17:14 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @arthur-fontaine on GitHub (Jan 4, 2025).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/1139

Is this suited for github?

  • Yes, this is suited for github

Is your feature request related to a problem? Please describe.

I want to test that it works without having to implement the login/signup in the application because I develop the backend before the application.

Describe the solution you'd like

I'd like a section in the documentation where I can just copy-paste CLI commands that use curl or http (HTTPie CLI).

Just commands to signup, login and get the session would enough.

Describe alternatives you've considered

I've looked at the route definitions at https://github.com/better-auth/better-auth/tree/main/packages/better-auth/src/api/routes, but that's not practical...

Additional context

No response

Originally created by @arthur-fontaine on GitHub (Jan 4, 2025). Original GitHub issue: https://github.com/better-auth/better-auth/issues/1139 ### Is this suited for github? - [x] Yes, this is suited for github ### Is your feature request related to a problem? Please describe. I want to test that it works without having to implement the login/signup in the application because I develop the backend before the application. ### Describe the solution you'd like I'd like a section in the documentation where I can just copy-paste CLI commands that use `curl` or [`http`](https://httpie.io/docs/cli) (HTTPie CLI). Just commands to signup, login and get the session would enough. ### Describe alternatives you've considered I've looked at the route definitions at https://github.com/better-auth/better-auth/tree/main/packages/better-auth/src/api/routes, but that's not practical... ### Additional context _No response_
GiteaMirror added the locked label 2026-04-15 15:17:15 -05:00
Author
Owner

@arthur-fontaine commented on GitHub (Jan 4, 2025):

I hadn't seen the OpenAPI plugin...

<!-- gh-comment-id:2571427915 --> @arthur-fontaine commented on GitHub (Jan 4, 2025): I hadn't seen the [OpenAPI plugin](https://www.better-auth.com/docs/plugins/open-api#navigate-to-apiauthreference-to-view-the-open-api-reference)...
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#17243