diff options
Diffstat (limited to 'sample-cgi-handler.sh')
-rwxr-xr-x | sample-cgi-handler.sh | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/sample-cgi-handler.sh b/sample-cgi-handler.sh index 5cafc84..b9b195d 100755 --- a/sample-cgi-handler.sh +++ b/sample-cgi-handler.sh @@ -1,14 +1,9 @@ #!/bin/bash -echo "Content-type: application/activity+json" +echo "Content-type: application/atom+xml" echo "" -echo '{ - "@context": "https://www.w3.org/ns/activitystreams", - "type": "OrderedCollection", - "totalItems": 1, - "orderedItems": [ - { - "type": "Note", - "content": "hi" - } - ]}' +echo '<feed xmlns="http://www.w3.org/2005/Atom"> + <entry> + <content>asd</content> + </entry> +</feed>' exit 0 |