GithubHelp home page GithubHelp logo

Buffer about needle HOT 7 CLOSED

tomas avatar tomas commented on June 20, 2024
Buffer

from needle.

Comments (7)

tomas avatar tomas commented on June 20, 2024

It's a string or binary buffer, depending on what you requested. In most cases you'd just do response.body.toString().

Is that what you mean?

from needle.

tiangooden avatar tiangooden commented on June 20, 2024

Well the problem is that I know for sure that the request should take 3 to 5 minutes to get a response and this is what I get after 20 seconds; as if it is prematurely timing out. (even if timeout option is set to 0).

from needle.

tomas avatar tomas commented on June 20, 2024

And what do you get with console.log(resp.body.toString()); ?

I can see that the response is empty (0 bytes) though. Unless the first argument is an Error, it means that the request was successful.

from needle.

tiangooden avatar tiangooden commented on June 20, 2024

The request I'm sending creates virtual machines and the response has the credentials. I've just run out off space though and I don't have the permissions to delete; so I'll have to test again tomorrow.

from needle.

tomas avatar tomas commented on June 20, 2024

Sure, let me know if there's any way I can help.

from needle.

tomas avatar tomas commented on June 20, 2024

Hi, were you able to take a look at this?

from needle.

tiangooden avatar tiangooden commented on June 20, 2024

Yes I did. It seemed to be a problem with the external service; not Needle.

from needle.

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.