| ... | @@ -58,3 +58,9 @@ bc. {'api_key' => api_key, |
... | @@ -58,3 +58,9 @@ bc. {'api_key' => api_key, |
|
|
'HTTP_ACCEPT_LANGUAGE' => 'en-us,en;q=0.5',
|
|
'HTTP_ACCEPT_LANGUAGE' => 'en-us,en;q=0.5',
|
|
|
'HTTP_HOST' => 'localhost'},
|
|
'HTTP_HOST' => 'localhost'},
|
|
|
'data' => {}}}
|
|
'data' => {}}}
|
|
|
|
|
|
|
|
h2. Return information
|
|
|
|
|
|
|
|
* If the post works a HTTP code 200 is returned.
|
|
|
|
* If the post has some error on his formatting, the return HTTP code is 422. An Array of all errors reported are send in body.
|
|
|
|
* If the API is unknow or malformed, the HTTP code is 404 |