Code Monkey home page Code Monkey logo

api-client-wrapper's People

Contributors

angelroberto avatar dependabot[bot] avatar robertolangarica avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

migelbd dqrook

api-client-wrapper's Issues

Unset header method

Hi Roberto, thanks so much for creating this (and the Quasar extension).

One request - which I tried to do via gitlab pull requests, but I've never got the hang of working with someone else's project, so I couldn't send you the pull request.

It would be great to have an deleteHeader(name) option, so that for example when someone logs out, we can remove the Authorization header.

Regards,
Andy

Support interceptors

Hi Roberto,

Another request - I've been trying to use the standard Quasar axios boot file, but had problems due to the very obscure way I'm using it. Your extension has resolved the issue I had, but it would be great to use interceptors

The use case is to pop a notification to the user to say there is an API error. I have one global interceptor for this, rather than having to examine every response and then have duplicated code everywhere.

Regards,
Andy

If you send url params, they are lowercased

For example if you send

this.$api.get('/entity/home?with=entityContents,entitiesRelated')

The actual request will be

this.$api.get('/entity/home?with=entitycontents,entitiesrelated')

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.