Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
E
el3ab-management
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Administrator
  • el3ab-management
  • Repository

Switch branch/tag
  • el3ab-management
  • core
  • ApiProxy.php
Find file
BlameHistoryPermalink
  • Mahmoud Aglan's avatar
    fix: Swiss API needs Content-Type + empty body {} for bodiless POSTs · 4f5902d2
    Mahmoud Aglan authored May 30, 2026
    The API rejects bodiless POSTs without Content-Type (415 Unsupported Media
    Type) AND rejects Content-Type with literally no body (Body cannot be empty).
    Solution: always send Content-Type, and for POST/PATCH/PUT with null body,
    send empty object {} as body.
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    4f5902d2
ApiProxy.php 3.93 KB
EditWeb IDE

Replace ApiProxy.php

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.