Comments (6)
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.
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.
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.
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.
'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.
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)
- [Feature Request] Support slog logger handler
- read form example cannot run HOT 1
- Gzip doesn't work HOT 2
- How to print Session value in Template HOT 1
- Flash Session [ Help Needed ] HOT 1
- get with params HOT 2
- how to read data from client like JMeter HOT 4
- why static file can't be packaged HOT 5
- Can we use mvc service in another service? HOT 3
- How can I get test coverage? HOT 1
- "WithoutVersionChecker" is undefined! HOT 2
- "Hello, webAssembly" link in the table of contents is broken HOT 1
- Error with ctx.URLParams()
- write tcp [::1]:8099->[::1]:64820: wsasend: An established connection was aborted by the software in your host machine.
- WebSocket to REST handlers Adapter
- /create and /decode has no function at the example "Glimpse" HOT 1
- html/template: "movie/index.html" is undefined HOT 1
- Potential import collision: import path should be "go.etcd.io/bbolt", not "github.com/etcd-io/bbolt" HOT 4
- httpexpect doesn't work
- How do I set up a header? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from examples.