Article proposal: curl and API

An article that covers the HTTPS verbs GET, PUT, PATCH, POST and DELETE, a JSON payload, an API endpoint, and how ot use curl to tie them all together. And maybe how to use OpenSSL to get at an encrypted site.

I reckon this would be more fun if there is a Fedora API for people to experiment on.

What public APIs does the Fedora project have?

1 Like

What about doing this with a common pastebin? At least some of these methods should be available there.

Good idea.
I’ve never used their API - I found this.
It’s not looking like APIs I’m used to - looks like everything uses POST. Instead of DELETE they’ve got POST and api_option=delete.