Comments (2)
This precedence is independent of go
. IIRC, the value from the body overrides the rest and if used as a query parameter it overrides the value from the path.
from go-endpoints.
Yep, Danny is right. @colegleason take a look at transfor_rest_request
method from the dev_appserver2.
Here's a snippet from the docstring:
The request can receive values from the path, query and body and combine
them before sending them along to the SPI server. In cases of collision,
objects from the body take precedence over those from the query, which in
turn take precedence over those from the path.In the case that a repeated value occurs in both the query and the path,
those values can be combined, but if that value also occurred in the body,
it would override any other values.
from go-endpoints.
Related Issues (20)
- 2 errors on Windows 7 with "goapp serve helloworld/" HOT 13
- Remove debugging HOT 1
- Parameters from URL path are not decoded. HOT 1
- Service should recover from panic and display an internal server error
- Error while go-getting: use of internal package not allowed HOT 5
- certExpirationTime always returns 0 HOT 12
- Unexpected configuration Error HOT 3
- GAE Cloud Endpoints API Explorer stopped working HOT 1
- Remove appengine/internal depedencies HOT 2
- Path parameters inconsistently handle JSON name overrides, "req[uired]" tag.
- Angular 2 + Go endpoints HOT 1
- Is this idiomatic? HOT 1
- Structures using custom types fail to set default values during validation. HOT 1
- Nested slices are not supported.
- Is it possible to get profile information in an id_token from Google? HOT 1
- Post requests for discovery document?
- Support x-www-form-urlencoded data in POST methods
- This project has open issues from a year ago, is this project reliable for production use? HOT 6
- Can not upload project
- Cloud Endpoints v1 is deprecated - any thoughts about migrating to v2? HOT 2
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 go-endpoints.