Giter VIP home page Giter VIP logo

Comments (6)

paulocoghi avatar paulocoghi commented on May 26, 2024 2

Luke is one of the best open source software creators I know.

I am even a little concerned about his normal work and personal life, because he responds always so fast, many times with code examples.

He deserves 1000 sponsors. 😄 And we, your library users, may seriously consider to be one of them.

from httpie.

lukeed avatar lukeed commented on May 26, 2024 1

Hey,

For both browser variants, just use opts.withCredentials it maps over directly (eg, https://github.com/lukeed/httpie/blob/next/src/xhr.js#L53). There's no equivalent in Node because it doesn't apply, so you can use the same set of options and Node variant will ignore it:

httpie.send('GET', '...', {
  with credentials: true,
  headers: { ... }
})

Hope that helps

from httpie.

anonimusprogramus avatar anonimusprogramus commented on May 26, 2024 1

I'm sorry, atm on mobile. Gonna try it asap. Thanks

from httpie.

anonimusprogramus avatar anonimusprogramus commented on May 26, 2024 1

Confirmed, it works! 🎉

There's even suggestion on vscode lol. My bad I didn't look into source 1st before asking. As always, thank you so much 🙌

from httpie.

lukeed avatar lukeed commented on May 26, 2024

Hey, just following up. Did this work okay for you?

from httpie.

lukeed avatar lukeed commented on May 26, 2024

Haha thank you @paulocoghi, appreciate the kind words

from httpie.

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.