Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

270
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda