2dbi
BBlinkit·OtherNew Grad

Write a cURL command to fetch all transactions for a user

via2dbi

Problem

Write a working cURL request that fetches all transactions for a given user, filtering by user_id.

Example

curl -G https://api.example.com/transactions \
  --data-urlencode "user_id=12345"

Notes

  • Be ready to discuss query parameters, auth headers, and pagination
Add a follow-up question they asked
Add authentication
Paginate large result sets
asked …
LeaderboardSalary
Language
Account