Giter Club home page Giter Club logo

Comments (6)

 avatar commented on July 21, 2024

Hello uicosp, thanks for the comment!
I already read a lot of books and articles before a decade or so (and these posts you sent me also).
However I am open for any help iris can get, if you think something should change push a pr I will approve it, thanks again!

from examples.

uicosp avatar uicosp commented on July 21, 2024

Actually , both PUT and POST can be used to create. The diff is that PUT need a explicit URI while POST doesn't.
e.g.

// Create a user with id=1
PUT /users/1 HTTP/1.1
Host: www.example.com/

// Create a user, and let the server side decides the user_id (usually returned by database)
POST /users HTTP/1.1
Host: www.example.com/

from examples.

 avatar commented on July 21, 2024

Correct, but the example is not created to learn developers how the web works. With PostBy I wanted to show that you can append the word By to receive parameters, this happens with all methods, not only post, as I said (if you really want to help & have time), improve them with a pr, I do not have any coblex, the prs will be approved!

from examples.

uicosp avatar uicosp commented on July 21, 2024

yeah.
Iris is a awesome web framework, I like it very much. Since we found this issue, I think we can make it more correct to avoid misleading those who reading this example.
If you like, I can help you correct it and push a pr :)

from examples.

 avatar commented on July 21, 2024

'Joke' is coming...

Iris is a awesome web framework,

Yes but you didn't star it yet!!

Yes, I told twice, any help is welcome!

from examples.

uicosp avatar uicosp commented on July 21, 2024

Oh, I forgot to star it, haha. (Usually, I use "star" as bookmark to remember those good stuffs which I can find them later. I just found iris several days ago, and since it's so awesome that I can keep it in mind, so I forgot to star it.)

from examples.

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.