Code Monkey home page Code Monkey logo

Comments (7)

alexjomin avatar alexjomin commented on August 16, 2024 1

Hi, thank you for the feedback,
I could reproduce, I will give a look ASAP to fix this bug and I'll let you know.

from xee-api-docs.

quentin7b avatar quentin7b commented on August 16, 2024

Keep us informed :)

from xee-api-docs.

josephpage avatar josephpage commented on August 16, 2024

Any updates ?

from xee-api-docs.

alexjomin avatar alexjomin commented on August 16, 2024

Hello, sorry for the delay. I'm running out of time these days.

Anyway, @LeGuit could you check that the request is correctly URL encoded?

This request works :
curl -X GET -H "Authorization: Bearer XXXXX" -H "Content-Type: application/json" "https://staging.xee.com/v3/cars/2155/locations?begin=2016-09-20T00:00:00%2B02:00&end=2016-09-30T00:00:00%2B02:00"

This one, does not:
curl -X GET -H "Authorization: Bearer XXXXX" -H "Content-Type: application/json" "https://staging.xee.com/v3/cars/2155/locations?begin=2016-09-20T00:00:00+02:00&end=2016-09-30T00:00:00+02:00"

from xee-api-docs.

LeGuit avatar LeGuit commented on August 16, 2024

Hey @alexjomin !

I've just test both of those requests and yes the first is working and the second does not.

Referring to the documentation the format should be :
"Format is 2016-04-20T13:37:42Z(+/-HH:mm)"
So it's strange that the second one does not work

from xee-api-docs.

josephpage avatar josephpage commented on August 16, 2024

So, the correct URL-encoded url should be :
https://{env}.xee.com/v3/cars/{carId}/locations?begin=2016%2D09%2D20T00%3A00%3A00%2B02%3A00&end=2016%2D09%2D30T00%3A00%3A00%2B02%3A00

from xee-api-docs.

alexjomin avatar alexjomin commented on August 16, 2024

":" is indeed an unsafe character, it's better to encode it as %3A even if it leads to the same result : Example in the go playground

from xee-api-docs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.