Publish HTML to a URL from any HTTP client or agent framework
ShipPage is a standard REST endpoint. Any language or agent framework that can make an HTTP POST can publish a page.
curl
curl -X POST https://shippage.ai/v1/publish \
-H "Content-Type: application/json" \
-d '{"html": "<h1>Hello</h1>"}'
Python
import requests
r = requests.post("https://shippage.ai/v1/publish", json={"html": "<h1>Hello</h1>"})
print(r.json()["url"])
Node.js
const res = await fetch("https://shippage.ai/v1/publish", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ html: "<h1>Hello</h1>" }),
});
console.log((await res.json()).url);
See the API reference for all parameters, authentication, and page management.