Git Product home page Git Product logo

Comments (5)

pwFoo avatar pwFoo commented on July 30, 2024 1

I got it during go through your source code. Thanks!
Maybe I convert your code to a plugin for my use case with a small library to remove my jquery dependency :)

Thanks for sharing your great work here 👍

from ajax.

fdaciuk avatar fdaciuk commented on July 30, 2024

Hey @pwFoo! You can use any http method, following this example.

Please, let me know if you have any other doubt =)

from ajax.

pwFoo avatar pwFoo commented on July 30, 2024

Haven't tested it, but found this line which looked like a limit.

function ajax (options) {
var methods = ['get', 'post', 'put', 'delete']

Thank's. I'll test it out.

from ajax.

fdaciuk avatar fdaciuk commented on July 30, 2024

It is just to create the .get(), .post(), .put() and .delete() methods, directly on the ajax returned object.

But you can use any http method, following the example on documentation =)

from ajax.

fdaciuk avatar fdaciuk commented on July 30, 2024

Nice =)

from ajax.

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.