using correct API endpoints for api and uploads
fixing github upload task - had to fallback to using cURL due to ssl certificate and other various issues with RestClient