Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • PeerTube PeerTube
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • FramasoftFramasoft
  • PeerTubePeerTube
  • PeerTubePeerTube
  • Merge requests
  • !21
The source project of this merge request has been removed.

Fix Ruby and Python REST API examples

Merged Matthieu De Beule requested to merge (removed):develop into develop Nov 12, 2019
  • Overview 1
  • Pipelines 0
  • Changes 1

The previous examples where wrong, since they used a POST request (this caused quite some confusion for me) I used the requests library for Python, since that is what most people would want to use (it is even recommended on the http.client documentation page). I removed the http.verify_mode in the Ruby example since I don't think it is good practice to tell people to not verify HTTPS requests

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: develop