I am trying to access newsapi using js only. But the server returns 426 error response which if I m not wrong is about upgrading your current protocol.I m not sure how to do that.I am using fetch API.Can you suggest me some way to upgrade the protocol used by the fetch API(or any other way to get out of this error)?
I am trying to access newsapi using js only. But the server returns 426 error response which if I m not wrong is about upgrading your current protocol.I m not sure how to do that.I am using fetch API.Can you suggest me some way to upgrade the protocol used by the fetch API(or any other way to get out of this error)?