Code Monkey home page Code Monkey logo

Comments (6)

 avatar commented on August 26, 2024 2

I can confirm. I tried everything, but could not make .field() work. I could post data only with .send().

from chai-http.

keithamus avatar keithamus commented on August 26, 2024 1

Hey @Doogiemuc thanks for the issue. Thanks @C00bra for confirming

Do either of you have the time to work on a PR fixing the documentation? Contributors get a permanent place in our hall of fame.

from chai-http.

dman777 avatar dman777 commented on August 26, 2024

I hit this issue also. I don't believe the documentation/README is updated with use send({ obj: property}) instead of .field() for POST.

@keithamus should there even be a .field() method for PUT on forms? I don't believe HTML forms support PUT.

from chai-http.

wzup avatar wzup commented on August 26, 2024

Same issue here #165
Thanks a lot for not documenting it. I wasted 1 hour to understand that plugin's README is just a fantasy that has nothing to do with reality

.send() by the way doesn't work either

from chai-http.

meeber avatar meeber commented on August 26, 2024

@wzup As mentioned in the other thread, please check out #97 (comment); I think it may relate to the issue you're running into.

I get that you're frustrated but please understand that this is a 100% community-driven project that relies on people like yourself discovering issues or things that frustrate them and then submitting a PR to fix them so that future people don't run into the same issue. The original creator of this plugin hasn't been around since like 2013. I've never used this plugin myself but check in from time-to-time to help troubleshoot an issue or review a PR.

from chai-http.

coinop-logan avatar coinop-logan commented on August 26, 2024

This actually does seem to be supported now. I came across this thread googling some other issue - I'm able to use the .field() method just fine. Maybe this issue can be closed?

from chai-http.

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.