Giter Site home page Giter Site logo

Comments (12)

K2ouMais avatar K2ouMais commented on September 27, 2024 1

I just found where the problem was.

If you for some reason have a an empty field in the Header Section the request doesnt even start.

HereIsTheProblem

from laravel-api-explorer.

K2ouMais avatar K2ouMais commented on September 27, 2024 1

I cleared the cache, but for some unknown reason it didnt got clear.

Now I cleared it again and it works the way you wanted.

This is FIXED

Thank you

from laravel-api-explorer.

netojose avatar netojose commented on September 27, 2024

@K2ouMais , can you paste here the response from the server when this error occurs?

from laravel-api-explorer.

K2ouMais avatar K2ouMais commented on September 27, 2024

I can request exactly the same with postman oder over a *.http file on my IDE.

Over you tool, seems that the request doesnt even startet.

You click the button "MAKE REQUEST" and nothing happens.

from laravel-api-explorer.

netojose avatar netojose commented on September 27, 2024

@K2ouMais , I can't reproduce your error. You can see on the network tab if the request starts and if it has some response? (network tab from chrome dev tools)

from laravel-api-explorer.

K2ouMais avatar K2ouMais commented on September 27, 2024

No the request doesnt start and so it does not have a response. Strange...

For some reason it just happens with this POST request.

All others work without a problem.

from laravel-api-explorer.

netojose avatar netojose commented on September 27, 2024

@K2ouMais , thanks for your investigation. I will add some input validation on these fields, or ignore empty fields when requesting, on the Front-end side

from laravel-api-explorer.

K2ouMais avatar K2ouMais commented on September 27, 2024

Muito obrigado entao ;oD

Thank you for the effort.

from laravel-api-explorer.

netojose avatar netojose commented on September 27, 2024

@K2ouMais , bug fixed on 2.0.1 version (already is available). Now, parameters with empty key and/or values, are ignored.

Fix here: a4808fc

Thank you for your cooperation!

from laravel-api-explorer.

K2ouMais avatar K2ouMais commented on September 27, 2024

Just tried ist out and the same problem still occurs.

You have to ignore parameters with empty keys and values on Headers.

from laravel-api-explorer.

netojose avatar netojose commented on September 27, 2024

But @K2ouMais , this change updates the function used by format headers and parameters. So, it works.
Please check:

  • If you updated to 2.0.1 version
  • Cleared your cache (because front end uses a bundle.js file and can be cached)

from laravel-api-explorer.

netojose avatar netojose commented on September 27, 2024

I will fix this, appending some querystring variable when calling bundle.js (like bundle.js?v=2.0.2) to avoid these kind of cache issues in the future.

from laravel-api-explorer.

Related Issues (12)

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.