Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InitializeContentFields retornando erro "Duplicates not allowed" #151

Closed
FranziniDev opened this issue Nov 12, 2020 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@FranziniDev
Copy link

Ola, bom dia.

Após a inclusão desta função comecei a ter como resposta "Duplicates not allowed".

Ocorre quando utiliza o Body de um post e informa um Json Array - exemplo [{"controle":1}, {"controle":2}]

Quando envia um Objeto Json {} o problema não ocorre.

Será que perdi alguma outra Implementação e deixei de configurar algo de forma correta ? ou é um caso a ser corrigido mesmo ?

Por enquanto para poder utilizar desta forma estou comentando o trecho, como mostrado abaixo :

constructor THorseRequest.Create(AWebRequest: {$IF DEFINED(FPC)}TRequest{$ELSE}TWebRequest{$ENDIF});
begin
FWebRequest := AWebRequest;
InitializeQuery;
InitializeParams;
//// InitializeContentFields;
InitializeCookie;
end;

@viniciussanchez viniciussanchez added the bug Something isn't working label Nov 12, 2020
@viniciussanchez
Copy link
Member

Obrigado por reportar @FranziniDev

@HashLoad HashLoad locked and limited conversation to collaborators Nov 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants