I Want to Just POST Information Directly to Your API Platform
When companies are getting going with their API operations, they rarely use POST, PUT, PATCH, and DELETE. They should want to encourage the creation of valuable data.
Join the DZone community and get the full member experience.Join For Free
I was dreaming of a more modular, event-driven approach to API monetization the other day, and I found myself thinking more about the motivations behind each API call made — from the perspective of both the consumer and the provider. With this story, I am just thinking about just the
POST, or how we usually add something to a system via API (this is not always the case, but it is the common usage of the verb).
I don't have any numbers to support this, but the majority of APIs I encounter are
GET only. The more mature API platforms have diverse stacks using their verbs — but when companies are just getting going with their API operations, they rarely use
DELETE. When it comes to having APIs and incentivizing developers to generate some value using APIs, it seems like a company wants to encourage the creation of valuable data and content.
I was talking with Lufthansa Airlines the other day, and one of the things that they said to me that stood out when we were talking about the different APIs available, was that none of them matter if someone doesn't buy (
POST) a ticket. Today, while on the phone with one of my partners, they asked if they could put my industry guides behind a lead generation form — something I allow my partners do. However, I wish more of them had a
POST path for me to submit new leads, share stories, topics, and other times, for a variety of reasons. I promise would help generate value with each API call.
With this work, I am ramping up for my API monetization and API plan research and thinking about the bigger picture of how we generate value and money doing all of this. I guess that I am just lamenting the stagnation of how APIs are being designed and deployed with any sensible or even creative monetization strategies. To help me get through this, I am going to think about what is important in my world operating API Evangelist and how I can create API endpoints for directly generating value in these areas — things like adding a news article, sharing a story, asking questions, and other seeds of value in my world. Then, maybe I can provide some examples to help clarify what I'm talking about.
Published at DZone with permission of Kin Lane, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.