<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Javascript on AminBytes</title><link>https://aminbytes.dev/tags/javascript/</link><description>Recent content in Javascript on AminBytes</description><generator>Hugo</generator><language>en</language><atom:link href="https://aminbytes.dev/tags/javascript/index.xml" rel="self" type="application/rss+xml"/><item><title>Build a tiny HTTP server</title><link>https://aminbytes.dev/bytes/http/hands-on/build-a-server/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://aminbytes.dev/bytes/http/hands-on/build-a-server/</guid><description>&lt;p&gt;Time to be the server. We&amp;rsquo;ll build a small to-do &lt;a class="gl" href="https://aminbytes.dev/glossary/#api" data-gl="api" data-gl-term="API" data-gl-aka="Application Programming Interface" data-gl-def="A way for programs to talk to each other. A web API is a set of URLs that answer with data (usually JSON) instead of web pages." data-gl-see="/bytes/http/requests/http-methods/"&gt;API&lt;/a&gt; using only Node&amp;rsquo;s built-in &lt;code&gt;http&lt;/code&gt; module, then talk to it with &lt;code&gt;curl&lt;/code&gt;.&lt;/p&gt;</description></item><item><title>HTTP methods</title><link>https://aminbytes.dev/bytes/http/requests/http-methods/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://aminbytes.dev/bytes/http/requests/http-methods/</guid><description>&lt;p&gt;The first word of every request is the &lt;a class="gl" href="https://aminbytes.dev/glossary/#method" data-gl="method" data-gl-term="Method" data-gl-aka="HTTP verb" data-gl-def="The first word of a request, like GET or POST. It says what you want to do with the resource."&gt;&lt;strong&gt;method&lt;/strong&gt;&lt;/a&gt;. It says &lt;em&gt;what you want to do&lt;/em&gt; with the resource in the path.&lt;span class="sn"&gt;&lt;button type="button" class="sn-ref" aria-expanded="false"&gt;&lt;span class="sr-only"&gt;Note&lt;/span&gt;&lt;/button&gt;&lt;span class="sn-body" role="note"&gt;There are a few more, like &lt;code&gt;HEAD&lt;/code&gt; (only the headers, no body) and &lt;code&gt;OPTIONS&lt;/code&gt; (&amp;ldquo;what am I allowed to do here?&amp;rdquo;), which browsers send for cross-site requests.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Variables</title><link>https://aminbytes.dev/bytes/programming/variables/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://aminbytes.dev/bytes/programming/variables/</guid><description>&lt;p&gt;A &lt;a class="gl" href="https://aminbytes.dev/glossary/#variable" data-gl="variable" data-gl-term="Variable" data-gl-def="A name that points to a value, so you can use the name instead of repeating the value."&gt;&lt;strong&gt;variable&lt;/strong&gt;&lt;/a&gt; is a name that points to a value. You give a value a name once, then use the name instead of repeating the value.&lt;/p&gt;</description></item></channel></rss>