Skip to content

docs(http-client): add API request collection - #36

Merged
EdgarEldy merged 3 commits into
developfrom
feature/docs
Nov 22, 2026
Merged

EdgarEldy merged 3 commits into
developfrom
feature/docs

Conversation

@EdgarEldy

Copy link
Copy Markdown
Owner

Summary

  • Add an IntelliJ HTTP Client environment for the local server port.
  • Add request examples for authentication, password reset, catalogue, customers, cart, orders and administration.
  • Capture access and refresh tokens from the login response for subsequent authenticated requests.
  • Correct the Insomnia OTP example to use a JSON string.

Test plan

  • Validate http-client.env.json as JSON.
  • Verify request routes against the Spring Boot Tutorial controllers and DTOs.
  • git diff --check.

Define the development port used by the IntelliJ HTTP Client request collection. Keeping this setting in the environment lets the requests share one local base URL without repeating the port.
Add examples for authentication, password reset, catalogue, cart, orders and administration endpoints. The login response handler stores access and refresh tokens in IntelliJ client-global variables so authenticated requests can reuse them without putting tokens in versioned files.
Represent the six-digit OTP as a JSON string, matching the API contract and preserving leading zeroes.
@EdgarEldy
EdgarEldy merged commit 561f75a into develop Nov 22, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant