Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
120 views
in Technique[技术] by (71.8m points)

javascript - How do I add my API key to this URL for successful GET?

I have a API key for the following: https://api.propublica.org/congress/v1/116/house/members.json and I am looking to be able to (in Javascript) code a user input that returns a value from the JSON.

I am not sure where or how to put my API key in the URL to get a successful return. Currently the error message I get is "unauthorized". Any help would be great!

question from:https://stackoverflow.com/questions/65865615/how-do-i-add-my-api-key-to-this-url-for-successful-get

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...