AtoumBundle icon indicating copy to clipboard operation
AtoumBundle copied to clipboard

Add doc for POST with data

Open marmotz opened this issue 10 years ago • 5 comments

Could you add doc for using POST with any data ?

marmotz avatar Jul 17 '14 12:07 marmotz

Hi,

could you be more specific ? Sounds like out of the blue for me (I confess I don't know every parts of the project well).

If you're willing to give me an example, I'll do my best to document it.

geraldcroes avatar Jul 17 '14 13:07 geraldcroes

Well, I've got answer in IRC channel, but for other, it should be usefull to documente how to test a post with post data.

$this->POST('/url', array('field1' => 'data1', 'field2' => 'data2'));

And how to upload a file, too :)

marmotz avatar Jul 17 '14 13:07 marmotz

@marmotz Why not sendng a PR with what you got from IRC ? :)

jubianchi avatar Jul 17 '14 13:07 jubianchi

  1. because it's longer than to create a ticket and answer questions about this ticket
  2. because I don't know how to upload a file and if there are some tricky things, optional parameters or other stuff

marmotz avatar Jul 17 '14 13:07 marmotz

@marmotz

because it's longer than to create a ticket and answer questions about this ticket

I don't think so...

because I don't know how to upload a file

So I might say that your issue is not clear about what you think is missing from the doc... BTW, any contrib, be it complete or not, is welcome :)

jubianchi avatar Jul 17 '14 14:07 jubianchi