AnsweredAssumed Answered

VS Image from rrpairs, but PUT body not parsed ?

Question asked by Benoit_B on Mar 30, 2017
Latest reply on Apr 4, 2017 by Benoit_B

Hello everybody

 

I'm trying to create a VS image from rrpairs with the following files.

req.xml : 

PUT /d431-bibliotheque/v1/livre/2753800189 HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Content-Lenght: 9

 

version=f

 

rsp.xml : 

HTTP/1.1 200 OK

{
"isbn": "2753800189",
"titre": "La Jangada",
"auteur": "Jules Verne",
"version": "f",
}

 

When creating VS image, field "version" in PUT method is not recognized as a parameter.

But if I used a POST method, when creating VS image, "version" is recognized as a parameter.

 

Is there something wrong with file req.xml ? Or with my use of PUT header/body ? 

 

Regards,

 

Benoit

Outcomes