R
Ricardo Rafols
Guest
Hi Iram, I am testing REST using SOAPUI 5.0.0. this is my raw file.. maybe it can help you. POST http://localhost:8080/rest/api/setDataField HTTP/1.1 Accept-Encoding: gzip,deflate Content-Type: application/x-www-form-urlencoded Content-Length: automatic calculated Host: automatic populated Connection: Keep-Alive User-Agent: Apache-HttpClient/4.1.1 (java 1.5) sessionId= csession id &id= record id &fieldName= object field name &fileName= file name + extention &objName= object name &contentType= content type = base64 file my example: sessionId=cfa868a212c14066910790c7096bded3%401&id=306212&fieldName=file&fileName=test.pdf&objName=teste_templates&contentType=application%2Fpdf&value= base 64 file here I used a 67k pdf file and it worked. I converted my file using www.motobit.com/.../base64-decoder-encoder.asp and removed all "enters" between the lines.
Continue reading...
Continue reading...