<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Curl - Tag - My Notes</title><link>https://blog.emecas.net/tags/curl/</link><description>Curl - Tag - My Notes</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Mon, 17 Aug 2020 21:58:23 -0400</lastBuildDate><atom:link href="https://blog.emecas.net/tags/curl/" rel="self" type="application/rss+xml"/><item><title>GraphQL - Serving over HTTP</title><link>https://blog.emecas.net/posts/2020-08-17-graphql-serving-over-http/</link><pubDate>Mon, 17 Aug 2020 21:58:23 -0400</pubDate><author>emecas</author><guid>https://blog.emecas.net/posts/2020-08-17-graphql-serving-over-http/</guid><description><![CDATA[<p>GraphQL - Serving over HTTP<br>
<a href="https://graphql.org/learn/serving-over-http/" target="_blank" rel="noopener noreffer ">https://graphql.org/learn/serving-over-http/</a><br>
HTTP is the most common choice for client-server protocol when using GraphQL because of its ubiquity. Here are some guidelines for setting up a GraphQL server to operate over HTTP.</p>
<p>CURL Call:<br>
$ curl -d &lsquo;{&ldquo;query&rdquo;:&quot;{people{ surname }}&quot;}&rsquo; -H &ldquo;Content-Type: application/json&rdquo; -X POST <a href="http://localhost:8080/graphql" target="_blank" rel="noopener noreffer ">http://localhost:8080/graphql</a></p>
<p>Reponse:<br>
{&ldquo;data&rdquo;:{&ldquo;people&rdquo;:[{&ldquo;surname&rdquo;:&ldquo;Fahey&rdquo;},{&ldquo;surname&rdquo;:&ldquo;Kuhn&rdquo;},{&ldquo;surname&rdquo;:&ldquo;Marks&rdquo;},{&ldquo;surname&rdquo;:&ldquo;Runolfsdottir&rdquo;}]}}</p>
<hr>
<p><em>Source: commit <a href="https://github.com/emecas/My-Notes/commit/5b74c13f15716b2c46c9b95139126cf2a8b05475" target="_blank" rel="noopener noreffer "><code>5b74c13</code></a> in My-Notes.</em></p>]]></description></item><item><title>GitBook</title><link>https://blog.emecas.net/posts/2017-08-02-gitbook/</link><pubDate>Wed, 02 Aug 2017 16:34:56 -0400</pubDate><author>emecas</author><guid>https://blog.emecas.net/posts/2017-08-02-gitbook/</guid><description><![CDATA[<p>GitBook<br>
<a href="https://www.gitbook.com/about" target="_blank" rel="noopener noreffer ">https://www.gitbook.com/about</a></p>
<p>GitBook was created mid 2014 with the vision of creating a modern and simple solution to documentation, digital writing and publishing.</p>
<p>We&rsquo;ve started by building an open source format. The philosophy is to be simple to the point of elegance, removing distractions and concerns from content creators, so that they can write freely.</p>
<p>Since then, we&rsquo;ve grown to helping more than 250,000 people working together into writing 150,000 books served to 20M visitors every month.</p>]]></description></item><item><title>CURL official website Multiplatform</title><link>https://blog.emecas.net/posts/2017-02-01-curl-official-website-multiplatform/</link><pubDate>Wed, 01 Feb 2017 12:18:04 -0500</pubDate><author>emecas</author><guid>https://blog.emecas.net/posts/2017-02-01-curl-official-website-multiplatform/</guid><description><![CDATA[<p>CURL<br>
<a href="https://curl.haxx.se/" target="_blank" rel="noopener noreffer ">https://curl.haxx.se/</a><br>
command line tool and library for transferring data with URLs</p>
<hr>
<p><em>Source: commit <a href="https://github.com/emecas/My-Notes/commit/acf275d2f6fd146eee62432bad223eb8fd3dce00" target="_blank" rel="noopener noreffer "><code>acf275d</code></a> in My-Notes.</em></p>]]></description></item></channel></rss>