Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

269
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda