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

the parameters called todate and fromdate not work for me #454

Closed
fran748 opened this issue Feb 18, 2021 · 3 comments
Closed

the parameters called todate and fromdate not work for me #454

fran748 opened this issue Feb 18, 2021 · 3 comments
Assignees

Comments

@fran748
Copy link

fran748 commented Feb 18, 2021

Hello. I am using a server that has installed fiware. I need to receive a data series based on a certain time limits, so I need to use the parameters called todate and fromdate that are implemented in quantumleap.
I am using quntumleap 0.7.6, docker 20.10.3 , Crate DB version 4.1.4.
I can make the http request, but I don't get the data of this interval, instead the server sends me all stored datas in the entity.
Does Anyone know why this happens?
This is the request http that I do:
http://IP:Port/v2/entities/XX/attrs/Vrms3s?fromdate=2021-02-18T00:00:00.000Z& todate=2021-02-18T17:00:00.000Z

@SBlechmann
Copy link

Hey there,

I believe that 1st you have a space behind the &.
But second and more important: I believe the query parameters are case sensitive. So you might give it a try with fromDate and toDate :)

@fran748
Copy link
Author

fran748 commented Feb 18, 2021

Thanks, thanks. You have helped me a lot, this was the problem. :)
I had not realized that, in the end it was all a misspelling.

Hola,

Creo que primero tienes un espacio detrás del &.
Pero segundo y más importante: creo que los parámetros de consulta distinguen entre mayúsculas y minúsculas. Así que puede intentarlo con fromDate y toDate :)

@fran748 fran748 closed this as completed Feb 18, 2021
@c0c0n3
Copy link
Member

c0c0n3 commented Feb 19, 2021

@SBlechmann thanks so much for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants