[ARVADOS] created: 1.3.0-1827-gd953b5510

Git user git at public.curoverse.com
Fri Nov 1 14:13:50 UTC 2019


        at  d953b5510676f1cb5cfab7a092d2de2cd3c72135 (commit)


commit d953b5510676f1cb5cfab7a092d2de2cd3c72135
Author: Eric Biagiotti <ebiagiotti at veritasgenetics.com>
Date:   Fri Nov 1 10:13:41 2019 -0400

    15672: Updates request docs for post special case
    
    Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti at veritasgenetics.com>

diff --git a/doc/api/requests.html.textile.liquid b/doc/api/requests.html.textile.liquid
index 84cae49a0..d67584710 100644
--- a/doc/api/requests.html.textile.liquid
+++ b/doc/api/requests.html.textile.liquid
@@ -22,7 +22,7 @@ Use @PUT@ to update an existing resource.
 
 Use @DELETE@ to remove an existing resource.
 
-As a special case, a @POST@ with the query parameter @_method=GET@ will be treated as a GET request.  This makes it possible to issue @GET@ requests where the query string exceeds the maximum request URI length, by putting the query string in the body of the request.
+As a special case, a @POST@ with @_method=GET@ in the form body will be treated as a GET request.  This makes it possible to issue @GET@ requests where the query string exceeds the maximum request URI length, by putting the query string in the body of the request.
 
 h3. Request URI
 
@@ -218,6 +218,12 @@ $ curl -v -H "Authorization: OAuth2 oz0os4nyudswvglxhdlnrgnuelxptmj7qu7dpwvyz3g9
 }
 </pre>
 
+Alternatively, the following @POST@ request can be made to achieve the same response and avoid issues where the @GET@ query string exeeds the maximum request URI length.
+
+<pre>
+$ curl -v -H "Authorization: OAuth2 oz0os4nyudswvglxhdlnrgnuelxptmj7qu7dpwvyz3g9ocqtr" -d _method=GET https://192.168.5.2:8000/arvados/v1/collections/962eh-4zz18-xi32mpz2621o8km | jq .
+</pre>
+
 h3. List records and filter by date
 
 (Note, return result is truncated).

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list