Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Guides REST API integration, covering HTTP methods, authentication, error handling, and rate limiting.
70% 96%+26 ptsof test cases passed
Passed 22 of 23 test cases with the skill, and 16 of 23 without it.
We are starting a new integration with the Salesforce REST API. Our team wants to jump straight into coding feature logic and UI integration. What initial step must be completed before writing feature code or setting up error handling?
mandates reading API documentation completely before building features
3 of 3 safety checks passed
IRON LAW: Read the Docs, Then Build, Then Handle Errors
1. Read the API documentation completely (auth, endpoints, rate limits, errors)
2. Get a successful request working in isolation (curl/Postman)
3. Build error handling BEFORE building features
Skipping step 1 wastes hours on trial-and-error. Skipping step 3
creates fragile integrations that break silently in production.
| Method | Purpose | Idempotent? | Example |
|---|---|---|---|
| GET | Read data | Yes | GET /users/123 |
| POST | Create new resource | No | POST /users + body |
| PUT | Replace entire resource | Yes | PUT /users/123 + full body |
| PATCH | Update partial resource | Yes | PATCH /users/123 + partial body |
| DELETE | Remove resource | Yes | DELETE /users/123 |
| Range | Meaning | Common Codes |
|---|---|---|
| 2xx | Success | 200 OK, 201 Created, 204 No Content |
| 3xx | Redirect | 301 Moved, 304 Not Modified |
| 4xx | Client error (your fault) | 400 Bad Request, 401 Unauthorized, 403 Forbidden, 404 Not Found, 429 Too Many Requests |
| 5xx | Server error (their fault) | 500 Internal, 502 Bad Gateway, 503 Service Unavailable |
| Type | How It Works | When Used |
|---|---|---|
| API Key | Key in header or query param | Simple APIs, server-to-server |
| Bearer Token | Authorization: Bearer <token> | OAuth 2.0, JWT-based APIs |
Next to this one in the catalogue, plus more from the same author.