Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #660

Closed
Open
Created Apr 08, 2012 by Administrator@rootOwner

[feature/refactoring] - Web hooks data posts

Created by: rtripault

When using PHP (latest 5.3.x on Debian Squeeze + dotdeb packages) i had hard times making web hooks working. In fact i was able to get Github's data from $_POST['payload'] (as stated in http://help.github.com/post-receive-hooks/) while Gitlab sends the data in $HTTP_RAW_POST_DATA global (for the record, which you can get with file_gets_contents('php://input')).

My 2 cents are that i think it would be more homogeneous to mimic Github's behavior so we can use the existing hooks working for Github (some web apps provide web hooks).

Hope i'm understandable. Thanks

Assignee
Assign to
Time tracking