skip to Main Content

PHP curl to github rest api does not return anything

Based on https://docs.github.com/en/rest/commits/commits?apiVersion=2022-11-28 I have this code: $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "https://api.github.com/repos/octocat/Hello-World/commits"); $headers = [ 'Accept: application/vnd.github+json', 'Authorization: Bearer <my personal token>', 'X-GitHub-Api-Version: 2022-11-28' ]; curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); $server_output = curl_exec($ch); curl_close($ch); print $server_output ; But it does not…

VIEW QUESTION

How to use github variables properly in cypress – Ubuntu

Thats what i have when i run tests on github, tests without login passed The request we sent was: Method: POST URL: https://myurl.com/app-auth/login Headers: { "Connection": "keep-alive", "user-agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/112.0.5615.49 Safari/537.36", "accept": "*/*",…

VIEW QUESTION

Github action the `set-output` command is deprecated – Ubuntu

I have the following github action, I am given the following warnings: build-android The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ But I'm not using set-output. on:…

VIEW QUESTION
Back To Top
Search