Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more
21 votes
Accepted

What’s the Difference Between a webhook and an API?

The first and main difference between them is that with most APIs there’s a request followed by a response. No request is required for a webhook, it just sends the data when it’s available. Simple ...
knif3r's user avatar
  • 1,067
13 votes

What’s the Difference Between a webhook and an API?

API is doing stuff when you ask it to, while Webhook does stuff on it's own when certain criteria match. So, in a nutshell: The API is where you tell us things and Webhooks is where we tell you ...
Pit's user avatar
  • 973
9 votes

What is an API key?

The best description of an API key I can find comes from this article from Apipheny: When dealing with APIs, you may encounter something called an API key. They’re sort of like passwords which let ...
Maximillian Laumeister's user avatar
8 votes

What’s the Difference Between a webhook and an API?

I'll illustrate this with a concrete example: Credit card payments. When your site wants to charge a credit card, you call an API at your credit card processor. The credit card processor then ...
Stephen Ostermiller's user avatar
5 votes

What is an API key?

API keys are a lot like passwords: They are secrets that allow access. There are however a few differences: Passwords are for humans, API keys are for automated access with programs or scripts. ...
Stephen Ostermiller's user avatar
4 votes

What is an API key?

The term "API key" is overloaded for two very different meanings. In your case, it's not entirely clear, but from when one website's API logins to another website's API automatically (...
R.. GitHub STOP HELPING ICE's user avatar
4 votes
Accepted

The Node Express server is returning "304 Not Modified" responses, but only after querying the database

The framework is: Generating the page internally for every request Using ETag headers with a content hash function to compare the generated page with the version sent before Either sending the full ...
Stephen Ostermiller's user avatar
3 votes
Accepted

How are these URLs highlighting text?

This is called Scroll To Text Fragment, and arrived in Chrome 80. Here is the draft specification, and the original proposal. It seems to me that this is another feature that Google just added to ...
Maximillian Laumeister's user avatar
3 votes

What’s the Difference Between a webhook and an API?

Here's an example of the difference between webhook and API in layman's term: Say you ordered something online and the delivery would be today but you're at work so you told your maid get the package ...
Community's user avatar
  • 131
3 votes
Accepted

Can't access API that's on a local linux server externally

Ok... I've been trying to solve this problem for the past 4 days and it turned out that the problem was with the firewall on Linux. If anyone faces the same problem, run these commands. iptables -I ...
Wanderer's user avatar
3 votes

What would be the proper rel value for an api endpoint?

We have tended to add API paths on an appropriate (to our applications) data- attribute on a suitable element close to the usage. <input type="text" name="term" data-...
Zhaph - Ben Duguid's user avatar
2 votes

What is an API key?

One important thing to understand is, that there is a difference between authorization (you are allowed to do this thing) and authentication (you really are who you say you are). They are not ...
Fabian Sievert's user avatar
2 votes

ga events api - Which guidelines should I follow

They're both actually the same. The second one in your question is just an abstraction - it shows less data but if you look farther down you can see they're setting app_name and screen_name where you ...
WebElaine's user avatar
  • 1,920
2 votes

Google Bot Crawls using expired cookies and fails to get response

As far as i know Google is not using cookies or API when crawling a website, the issue should be something else check again your API errors or servers logs to determine the issue. Google states: ...
John Could's user avatar
2 votes

Error "Field name is required" - Google Analytics API

@SomewhereDave got me on the right track. If anybody runs into the same issue, here's how I solved it. Caveats: I'm using googleapis Node.js library, authenticate via JWT (service-to-service ...
Julia's user avatar
  • 21
2 votes

Error "Field name is required" - Google Analytics API

Apparently, you have to provide a JSON object as the request body including values for all possible keys. So, if you want to change your view's name you also provide the id, currency, timezone, etc. ...
SomewhereDave's user avatar
2 votes

How will using the Wordpress API affect SEO ranking for company blog?

If I understand your situation correctly, you are considering setting up a blog site created by wordpress (on another server) and then pulling the content back to your website via an API. And, you ...
Keith's user avatar
  • 203
1 vote

What is an API key?

An API represents an authorized entity. As such it is more analogous to a username+password Of-course this is a bit of a generalization as different systems may attach different exact meanings to ...
davidgo's user avatar
  • 7,959
1 vote

Azure Console fails any command and shows code containing "Invalid value for encodingHint"

I solved it by creating a new API app (the resource I was trying to deploy to) and switching to it. One comment suggested reconnecting the storage, but my resource didn't have one. Call it blue-green ...
Alenros's user avatar
  • 111
1 vote

How can I link to a Google Map that shows directions from “My Location” to a Place ID?

Here's the documentation. You have to use origin, destination, and destination_place_id as the parameters. The destination parameter is required even if you're using a destination_place_id, but the ...
Pikamander2's user avatar
1 vote

Where are the medium and large images in Amazon's product advertising API?

The reason for having the different image sizes is for page optimization. Amazon could easily have a single image that is 500px wide and 500px high and then you simply limit the size of the image tag ...
Chris Rutherfurd's user avatar
1 vote
Accepted

updating SQL tables every x seconds (the right way)

In this instance you have taken the option that is the best practice and is what is done by most websites that have to run tasks at regular intervals. What it boils down to is you are using the ...
Chris Rutherfurd's user avatar
1 vote

historical weather data APIs

You can check ClimaCell for this. They have pretty detailed forecasts for anyone working on Big Data or need historical forecasts. Their history API goes as back as 20 years. It's free for developers ...
Muneeb Zulfiqar's user avatar
1 vote

Will using REST API from my site hosted on wordpress.com result in duplicate content?

It wouldn't be duplicate content unless everything is identical on a page, which includes your template/design output ( effectively a clone of the site ). It could however be seen as syndicated ...
Randomer11's user avatar
1 vote

How to prevent Googlebot from doing API requests?

If the API is being hit on every page load there is no way to display the page without hitting the API. As @Steve Ostenmier points out you can embed the conversion data in javascript which Google ...
Chris Rutherfurd's user avatar
1 vote

Why clients might send unsanctioned requests (i.e. where did this POST come from?)

I've previously come across HTTP 301/302 redirects changing a POST request to a GET request but not the other way around. While unlikely, it's possible that a: (a) proxy server in use by one of your ...
richhallstoke's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible