Anuj-Kumar-Sharma / NewsApp

Android app for displaying News in a RecyclerView
41 stars 45 forks source link

app does not working #6

Open tuhinsubhrahazra opened 3 years ago

tuhinsubhrahazra commented 3 years ago

BasicNetwork.performRequest: Unexpected response code 403 for https://newsapi.org/v2/top-headlines?country=in&category=science&piKey=1f4a12d2698e432ea9cf18126dcc7acd

VishwajeetMishra21 commented 3 years ago

Hello , What is the error ? If possible can i help .

just-injoey commented 2 years ago

BasicNetwork.performRequest: Unexpected response code 403 for https://newsapi.org/v2/top-headlines?country=in&category=science&piKey=1f4a12d2698e432ea9cf18126dcc7acd

You may changle url as, val url = "https://newsapi.org/v2/top-headlines?country=in&category=science&apiKey=1f4a12d2698e432ea9cf18126dcc7acd"

Harsh4902 commented 2 years ago

Change Your url "https://saurav.tech/NewsAPI/top-headlines/category/general/in.json"

deepaksingh0503 commented 1 year ago

Change Your url "https://saurav.tech/NewsAPI/top-headlines/category/general/in.json"

Thanks bro it worked.