How does it work?
POST any text to haiper.link/v1- text: "A little bit of summer is what the whole year is all about. — John Mayer"
- url: "example.com/quotes/little-bit"
“In summer's breeze, we find our wings.” — Unknown
“Summertime is the best time to lose track of time.” — Unknown
“The bad news is time flies. The good news is you're the pilot.&rdquo - Michael Altshuler;
Formats
Texts are added as HTML, markdown or plain text.Links are returned as HTML, markdown or JSON.
POST haiper.link/v1
- text: "A [little](existing-link.html) bit of summer is what the whole year is all about."
- url: "example.com/quotes/little-bit"
- textFormat: "md"
- format: "html"
- format: "JSON"
- from: "example.com/quotes/little-bit"
- "example.com/quotes/summer-breeze"
- "example.com/quotes/lose-track"
- "example.com/quotes/bad-news"
Collections
Related texts can form a collection.Collections can be combined. That's how you link offers and needs:
POST haiper.link/v1
- text: "Let me design your website!"
- url: "example.com/offers/webdesign"
- collection: "example.com/offers"
- responseCollection: "example.com/needs"