xref: /curl/tests/data/test378 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4HTTP PUT
5HTTP POST
6</keywords>
7</info>
8
9#
10# Server-side
11<reply>
12</reply>
13
14#
15# Client-side
16<client>
17<server>
18none
19</server>
20<name>
21Reject using -T and -d at once
22</name>
23<command>
24-T %LOGDIR/%TESTNUMBER -d input http://never-accessed
25</command>
26</client>
27
28#
29# Verify data after the test has been "shot"
30<verify>
31<errorcode>
322
33</errorcode>
34<stderr mode="text">
35Warning: You can only select one HTTP request method! You asked for both PUT
36Warning: (-T, --upload-file) and POST (-d, --data).
37</stderr>
38</verify>
39</testcase>
40