(obj, existingUrl, uppercase = false)
| 2499 | } |
| 2500 | |
| 2501 | _getParamString(obj, existingUrl, uppercase = false) { |
| 2502 | const params = []; |
| 2503 | for (const i in obj) { |
| 2504 | params.push((uppercase ? i.toUpperCase() : i) + '=' + obj[i]); |
| 2505 | } |
| 2506 | return (!existingUrl || existingUrl.indexOf('?') === -1 ? '?' : '&') + params.join('&'); |
| 2507 | } |
| 2508 | |
| 2509 | /** |
| 2510 | * @private |
no test coverage detected