Comments (4)
So I asked the endpoints team about this :
When the method name starts with get, the default httpMethod is GET. I don't believe you're allowed request bodies in GET methods. The best suggestion would have been for them to explicitly set POST in the annotation.
There does not exist a validation for this yet. But I'll file a bug with the endpoints team.
from gradle-appengine-plugin.
He loosebazooka
Great to see this has been noticed. I must say that this line: "When the method name starts with get, the default httpMethod is GET", is a pretty weird assumption that should not even exist. Imho I would remove this assumption rather then add a validation.
Anyway, I'am glad my time wasn't a total waste :)
I'll find some other catchy name for my apiMethods in the meanwhile.
from gradle-appengine-plugin.
You can explicitly specify the type of http request you want and name the
method whatever you want.
https://developers.google.com/appengine/docs/java/endpoints/annotations#apimethod_method-scoped_annotations
On May 29, 2014 6:39 PM, "brinkkemper" [email protected] wrote:
He loosebazooka
Great to see this has been noticed. I must say that this line: "When the
method name starts with get, the default httpMethod is GET", is a pretty
weird assumption that should not even exist. Imho I would remove this
assumption rather then add a validation.Anyway, I'am glad my time wasn't a total waste :)
I'll find some other catchy name for my apiMethods in the meanwhile.—
Reply to this email directly or view it on GitHub
#96 (comment)
.
from gradle-appengine-plugin.
Great! Thanks
Op 30 mei 2014 00:49 schreef "Appu Goundan" [email protected]:
You can explicitly specify the type of http request you want and name the
method whatever you want.https://developers.google.com/appengine/docs/java/endpoints/annotations#apimethod_method-scoped_annotations
On May 29, 2014 6:39 PM, "brinkkemper" [email protected] wrote:He loosebazooka
Great to see this has been noticed. I must say that this line: "When
the
method name starts with get, the default httpMethod is GET", is a
pretty
weird assumption that should not even exist. Imho I would remove this
assumption rather then add a validation.Anyway, I'am glad my time wasn't a total waste :)
I'll find some other catchy name for my apiMethods in the meanwhile.—
Reply to this email directly or view it on GitHub
<
https://github.com/GoogleCloudPlatform/gradle-appengine-plugin/issues/96#issuecomment-44594865>.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/96#issuecomment-44595670
.
from gradle-appengine-plugin.
Related Issues (20)
- JSPs not supported. HOT 3
- exclude jars HOT 6
- README.md - incorrect endpoints parameters HOT 1
- Skip functional tests HOT 3
- Connection timed out HOT 2
- JSP build step not honoring bootstrap classpath HOT 3
- appengineRun task looking in wrong directory for appengine-web.xml HOT 4
- task compileJava throws warnings HOT 2
- Warning messages when using Gradle 4.0 HOT 6
- services/pubsub: setup topic & subscription on deployment
- Java 8 compatability HOT 7
- Confusing error when src/main/webapp/appengine-web.xml not found HOT 2
- appengineDeploy works but appenginRun fails HOT 4
- GAE_ENV + GAE_RUNTIME HOT 8
- Update to 1.9.55 SDK
- Migrate to 1.9.56 HOT 1
- helloworld-new-plugins java-docs-samples seem to have issues when running locally. HOT 5
- Publish plugin on Gradle Plugin Portal HOT 2
- Failed to apply plugin for gradle 5.0 HOT 4
- Appengine plugin build error for gradle:3.4.0 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 gradle-appengine-plugin.