Add image upload support (/image API) - #46
Conversation
There was a problem hiding this comment.
To maintain supports for Node 7.x and newer, otherwise we could consider Node 18 which fetch is available natively
/image API)
|
Timeout and network errors are converted into generic I also noticed that JSON response with error key is returned with HTTP 200 and resolves as a successful response, but the client should understand there is an error. But that's the whole library problem. |
Good catch. I removed |
|
It's fine to address in a follow-up. Can you rebase and make the test green? |
@strzibny Done |
Documentation: https://serpapi.com/image-api