User Tools

Site Tools


informatica:linux:curl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
informatica:linux:curl [2011/03/14 11:33] 83.247.136.12informatica:linux:curl [2011/03/14 11:36] 83.247.136.12
Line 6: Line 6:
   curl -F "certFile=@certificado.txt;application/octet-stream" http://testvalidacio.catcert.cat/psiswebclient/verifyCert.do   curl -F "certFile=@certificado.txt;application/octet-stream" http://testvalidacio.catcert.cat/psiswebclient/verifyCert.do
  
-La petición con live http-headers es:+Sacamos el nombre de la variable de **Content-Disposition** y el tipo de fichero de **Content-Type**:\\ 
 +  **Content-Disposition**: form-data; name="certFile"; filename="certificado.txt" 
 +  **Content-Type**: application/octet-stream 
 + 
 +Toda la petición con live http-headers es:
 <code> <code>
 http://testvalidacio.catcert.cat/psiswebclient/verifyCert.do http://testvalidacio.catcert.cat/psiswebclient/verifyCert.do