Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

271
Views
Opprtunity to patch REST API resource, without HTTP PATCH

Following situation given:

  • OS: RHEL 6/7/8
  • Using Apache with mod-lua as REST API server
  • The customers endpoint structure:
    • GET /customers: List customers
    • POST /customers: Create new customer
    • GET /customers/$id: List customer by id

So we are running in following issue, when implementing an opportunity to particular patch the customers. The correct way (and the first we tried), would be to use the HTTP PATCH method. Unfortunately Apache mod-lua has a bug, the PATCH method isn't implemented correctly there (doesn't provide the request body). The bug is tracked here.

But we have to provide this feature, a full update on customers (PUT /customers) is not an option, due to the many result values.

Does anyone has an idea for a good workaround using POST or PUT? Maybe something like PUT /customers/patch? Thanks.

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!