Commit a71ebe0
Add makeGetRequest method for proper GET query parameter handling
This new method addresses a limitation in the existing makeRequest() method,
which only properly handles POST requests with JSON or multipart data.
The makeGetRequest() method:
- Properly passes query parameters using Guzzle's 'query' option
- Is specifically designed for utility endpoints that use GET requests
- Maintains backward compatibility by not modifying existing methods
- Follows the same pattern and conventions as makeRequest()
Usage:
$response = $this->makeGetRequest('/endpoint', ['param' => 'value']);
This method is used by utility packages:
- laravel-airports-database-flight-duration-calculator
- laravel-web-scraping-api
- laravel-skills-database-api
- laravel-job-positions-api
Also added branch alias for dev-master -> 1.1.x-dev to support local
development with path repositories.
Co-Authored-By: Claude Sonnet 4.5 <[email protected]>1 parent af2dd49 commit a71ebe0
2 files changed
+34
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
25 | 30 | | |
26 | 31 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
225 | 254 | | |
226 | 255 | | |
227 | 256 | | |
| |||
0 commit comments