Helper function for: GET, POST, PUT, and DELETE requests.

hsapi_request(path, type, ...)

Arguments

path

API Request Path

type

Request Type (GET, POST, PUT, or DELETE)

...

Parameters passed onto a httr request