(obj)
| 1406 | } |
| 1407 | |
| 1408 | function objectToQueryString(obj) { |
| 1409 | const encoded = []; |
| 1410 | for (let key in obj) { |
| 1411 | if (obj.hasOwnProperty(key)) { |
| 1412 | encoded.push(encodeURIComponent(key) + "=" + encodeIfContainsSpecialChars(obj[key])) |
| 1413 | } |
| 1414 | } |
| 1415 | return encoded.join("&") |
| 1416 | } |
| 1417 | |
| 1418 | function request(url, obj, ocr_flag) { |
| 1419 | ocr_flag = ocr_flag || false; |
nothing calls this directly
no test coverage detected