function-sample-azure cleanup
Cleaned up pom to use java.version instead of the compiler.source and compiler.target Added version properties for azure-functions-java-library and azure-functions-maven-plugin Updated the properties to be the latest recommended from Azure Functions Used stagingDirectory in maven-resources-plugin Updated README.adoc to say port 7071 instead of 8080
This commit is contained in:
@@ -4,7 +4,7 @@ You can run this sample locally, just like the other Spring Cloud Function sampl
|
||||
mvn spring-boot:run
|
||||
----
|
||||
|
||||
and `curl -H "Content-Type: application/json" localhost:8080/uppercase -d '{"value": "hello foobar"}'`.
|
||||
and `curl -H "Content-Type: application/json" localhost:7071/uppercase -d '{"value": "hello foobar"}'`.
|
||||
|
||||
Given that our function takes POJO `Function<Foo, Bar> uppercase()` and it's input is JSON we need to
|
||||
provide the appropriate content-type (in this case `application/json`).
|
||||
|
||||
Reference in New Issue
Block a user