<
From version < 28.6 >
edited by Chamika Weerasinghe
on 2011/06/19
To version < 29.1 >
edited by Anca Luca
on 2011/07/15
>
Change comment: Fixed content-type for formurl encoded (missing dash)

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.chamika
1 +XWiki.lucaa
Content
... ... @@ -615,7 +615,7 @@
615 615  * **HTTP Method:** POST
616 616  ** **Accepted media types:**
617 617  *** application/xml (Object element)
618 -*** application/x-www-formurlencoded (a set of property#name=value pairs representing properties and a field className)
618 +*** application/x-www-form-urlencoded (a set of property#name=value pairs representing properties and a field className)
619 619  ** **Media types:**
620 620  *** application/xml (Object element)
621 621  ** **Description:** Create a new object.
... ... @@ -648,7 +648,7 @@
648 648  * **HTTP Method:** PUT
649 649  ** **Accepted media types:**
650 650  *** application/xml (Object element)
651 -*** application/x-www-formurlencoded (a set of property#name=value pairs representing properties)
651 +*** application/x-www-form-urlencoded (a set of property#name=value pairs representing properties)
652 652  ** **Media types:**
653 653  *** application/xml (Object element)
654 654  ** **Description:** Modify the object properties.
... ... @@ -691,7 +691,7 @@
691 691  ** **Accepted media types:**
692 692  *** application/xml (Property element)
693 693  *** text/plain
694 -*** application/x-www-formurlencoded (a field property#name=value pairs representing a property)
694 +*** application/x-www-form-urlencoded (a field property#name=value pairs representing a property)
695 695  ** **Media types:**
696 696  *** application/xml (Property element)
697 697  ** **Description:** Modify the object properties.
... ... @@ -831,3 +831,4 @@
831 831  The name of the component has to be the class FQN.
832 832  
833 833  You can find more examples on [[https://github.com/xwiki/xwiki-platform/tree/master/xwiki-platform-core/xwiki-platform-rest/xwiki-platform-rest-server/src/main/java/org/xwiki/rest/resources]].
834 +

Get Connected