Hi, I don't have any experience working with APIs or HTTP requests so I'm finding the API documentation pretty confusing. Hoping that someone reading this could take a minute to comment on this block with an answer to my questions below.
So I created a new application in dev.are.na and now have the application ID, secret, and my personal access token.
I'd like to use the HTTP request module in the iOS Shortcuts app (fka Workflow) to post new blocks to my channels. Let's say I have a URL to a PDF I want to add to my library channel: https://www.are.na/sam-weinberg/library-1528703572
What URL do I make the POST request to? What do I include in the request header(s)? Should the request body be JSON, form, or file? What do I include in the request body?
Would really appreciate a helping hand here, thanks.