Commit 7d4f05aa authored by Jacek Furmankiewicz's avatar Jacek Furmankiewicz

docs

parent befaadf5
...@@ -103,9 +103,10 @@ Path argument extraction ...@@ -103,9 +103,10 @@ Path argument extraction
CorePort can easily extract path arguments from an URL and convert them to the desired type. CorePort can easily extract path arguments from an URL and convert them to the desired type.
The supported types are: The supported types are:
* *int*, e.g. "<int:some_int_arg>"
* *float*, e.g. "<int:some_float_arg>" * *int*
* *string*, e.g. "<string_arg>" * *float*
* *string*
Example: Example:
...@@ -130,15 +131,14 @@ HTTP codes ...@@ -130,15 +131,14 @@ HTTP codes
Success: Success:
* 200 (OK) - GET, DELETE, PUT * 200 (OK) - GET, DELETE, PUT
* 201 (Created) - POST * 201 (Created) - POST
Errors: Errors:
* 404 - not able to match any URL * 404 - not able to match any URL
* 400 - missing mandatory argument (driven from the arguments on the actual functions) * 400 - missing mandatory argument (driven from the arguments on the actual functions)
* 500 - server error * 500 - server error
Performance Performance
----------- -----------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment