post-ajax

1.0.3 • Public • Published

Post Ajax

This project is an easy javascript function which does not use jquey to do ajax.

Use

  • Function parameter
    • url -> your api link
    • data -> give a data which is FormData
    • funct -> api will call function when getting response is 200
    • err_funct -> api will call function when getting response is not 200.

/post-ajax/

    Package Sidebar

    Install

    npm i post-ajax

    Weekly Downloads

    2

    Version

    1.0.3

    License

    MIT

    Last publish

    Collaborators

    • hsuting