<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>HTTP on Julie's Website</title><link>https://juliecodestack.github.io/tags/http/</link><description>Recent content in HTTP on Julie's Website</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 21 Oct 2026 12:00:00 +0800</lastBuildDate><atom:link href="https://juliecodestack.github.io/tags/http/index.xml" rel="self" type="application/rss+xml"/><item><title>How to publish posts via the dev.to API</title><link>https://juliecodestack.github.io/2026/10/21/publish_via_devto_api/</link><pubDate>Wed, 21 Oct 2026 12:00:00 +0800</pubDate><guid>https://juliecodestack.github.io/2026/10/21/publish_via_devto_api/</guid><description>&lt;p&gt;Every time I copied a post into the dev.to editor, added tags and cleaned up the formatting, I&amp;rsquo;d wonder whether there was a way to automate it. If you have the same question, this article is for you.&lt;/p&gt;
&lt;p&gt;The answer: the dev.to API.&lt;/p&gt;
&lt;p&gt;In this post I&amp;rsquo;ll show you two ways to use it. First a &lt;code&gt;curl&lt;/code&gt; command, so you&amp;rsquo;ll see the exact request the API expects. Then a Python script that automates it. I&amp;rsquo;ll also cover the one thing that trips people up: images.&lt;/p&gt;</description></item></channel></rss>