Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
corepost
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
nexlab
corepost
Commits
7d4f05aa
Commit
7d4f05aa
authored
Sep 02, 2011
by
Jacek Furmankiewicz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs
parent
befaadf5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
README.md
README.md
+9
-9
No files found.
README.md
View file @
7d4f05aa
...
@@ -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
-----------
-----------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment