cURL tutorial using the Reddit API