Remove content-type from example

Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
Marcus Noble 2021-11-11 13:32:38 +00:00
parent 86f826b3e4
commit a0cba2f04c
Signed by: AverageMarcus
GPG Key ID: B8F2DB8A7AEBAF78
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@
<h4>Calling as an API:</h4>
If you set the <code>Content-Type</code> request header to <code>application/json</code> the response will return as a JSON array of all found feed URLs. If no feeds are found an empty array will be returned and the response status code will be <strong>404</strong>. If multiple feeds are found all will be returned in the array with a response status code of <strong>300</strong>.
<pre><code>
✨ curl -H "Content-Type: application/json" https://feed-fetcher.cluster.fun/\?url\=https://marcusnoble.co.uk
✨ curl https://feed-fetcher.cluster.fun/\?url\=https://marcusnoble.co.uk
HTTP/1.1 200 OK
Date: Sun, 21 Mar 2021 07:24:37 GMT
Content-Type: application/json