You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Alexander Belyak (JIRA)" <ji...@apache.org> on 2017/10/26 06:56:00 UTC

[jira] [Updated] (IGNITE-6759) URL is not used in http rest API

     [ https://issues.apache.org/jira/browse/IGNITE-6759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Belyak updated IGNITE-6759:
-------------------------------------
    Summary: URL is not used in http rest API  (was: URL not using in http rest API)

> URL is not used in http rest API
> --------------------------------
>
>                 Key: IGNITE-6759
>                 URL: https://issues.apache.org/jira/browse/IGNITE-6759
>             Project: Ignite
>          Issue Type: Bug
>      Security Level: Public(Viewable by anyone) 
>          Components: general
>    Affects Versions: 2.0, 2.1, 2.2
>            Reporter: Alexander Belyak
>             Fix For: 3.0
>
>
> In http rest API I cat send:
> curl "http://localhost:8080/ignite?cmd=get"
> {"successStatus":1,"sessionToken":null,"error":"Failed to handle request: [req=CACHE_GET, err=Failed to find mandatory parameter in request: key]","response":null}
> and 
> curl "http://localhost:8080/ignite2/2/2/2/2/?cmd=get"
> {"successStatus":1,"sessionToken":null,"error":"Failed to handle request: [req=CACHE_GET, err=Failed to find mandatory parameter in request: key]","response":null}
> With same result, i.e. we didn't  test whole request URL (only /ignite prefix is mandatory). Btw - its REST antipattern to use single URL to do anything (set ignite version 3.0 as fix version to be able to change API): http://www.restapitutorial.com/lessons/restfulresourcenaming.html



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)