11
Ago
09

POsting with curl

De SO:
http://stackoverflow.com/questions/269487/how-to-deal-with-protectfromforgery-to-make-rails-applications-communicate

Por ejemplo:

curl -H "Content-Type: text/xml" -d "<essay><content>Holaaaaaaa</content><title>yeah</title></essay>" -X POST http://localhost:3000/essays.xml -i


0 Respuestas a “POsting with curl”



  1. Aún no hay comentarios

Escribe un comentario