How to view Json responses from an Api (newsapi for example) on a cardview

3 posts were split to a new topic: Duplicate JSON thread

Hello greate koders I have tried to use the same method to get the Json text but I don’t know why I am getting this error instead of getting the same results as I get them on my Web browser.

On Web browser with Chrome Extension when I call this url with my API KEY I am getting this :point_down: :point_down: :point_down: :point_down:

But when I call the same URL on my app I don’t get JSON text instead it is like I am getting HTML codes like these

Please help me to solve this problem.

You are showing the return blocks. Your error must be in the request block.
Show us your POST Blocks.

I have used the same blocks as you can see here.


:pray:

You tested: in the url only the endpoint (www. Yourapi.com) and in the post pass the parameters?

Please I don’t understand would you kindly elaborate more or test this url from your end
http://newsapi.org/v2/top-headlines?q=tz&apiKey=afb399bb39ba4aae9350e26ae7e89a2f

Place the endpoint in web.url Place the parameters on the web.post
Url
www. endpoint . com?
POST
Key=tgghghhtgy
Join
&OtherParameter=fffgdhgjgghcb

How please can you show blocks?

I real don’t know how to do this if I can’t see the blocks. :cry:

Try :

https://community.kodular.io/search?q=Web%20post%20

You do not need to cry. Do some research.

Sure I trying to get your point means I have to create my own Json texts manually but please can you help me to know the end point and parameters which I have to post on Web Post?

Since this example can be different from mine.

image

1 Like

:point_up:
Thats all.

Now it’s up to you to use your brain. :thumbsup:

Sure I am now getting you but can you try to differentiate from this link which is the endpoint and the parameter
:point_down:
http://newsapi.org/v2/top-headlines?q=ke&apiKey=afb399bb39ba4aae950e26ae7e89a2f

Please :pray:

Newsapi has change, developer plan is granded for 30 days then you have to pay

Newsapi.org Terms of Use

If you see the the response type from newsapi is 403 indicating requests from the browser are not allowed on the Developer plan, except from localhost.

2 Likes

So what should I do? to solve this issue?

Pay maybe ?

3 Likes

the link is dead. will anybody send me Cardview extension directly? Removed by Mod . Thanks In advance

You can find CardView extension in

1 Like

A post was split to a new topic: Try to get data from Airtable API