Re: Testing GET, PUT, POST and DELETE HTTP methods using IIS

Re: Testing GET, PUT, POST and DELETE HTTP methods using IIS

am 01.04.2008 20:45:56 von Ken Schaefer

If 200 status is being logged by IIS, then IIS thinks that the content is
being served correctly. So you may have a network issue, or you may have a
client-side issue.

a) You say that you don't see the content on the device. What do you see?

b) If you get a network packet capture (e.g. using Wireshark), what do you
see tranmitted on the network?

Cheers
Ken


"Pavithra" wrote in message
news:18577ECA-9A50-49C7-832F-C582B0288EBB@microsoft.com...
>
>
> "Pavithra" wrote:
>
>>
>>
>> "Ken Schaefer" wrote:
>>
>> > What version of IIS are you using?
>> > GET and POST should work without any need to modify anything. PUT and
>> > DELETE
>> > require WebDAV functionality to be enabled.
>> >
>> > When you try GET and POST, what is the HTTP status that is being
>> > returned by
>> > IIS? That should give you some clue as to what is going on.
>> >
>> > Cheers
>> > Ken
>> >
>> >
>> > "Pavithra" wrote in message
>> > news:F3537DA6-9FC0-4DA0-899A-CC1DBEDBE6E8@microsoft.com...
>> > >I used the IIS service to test the various HTTP methods from an
>> > >external
>> > > embedded device. The GET method doesn't show me the contents of the
>> > > page.
>> > > PUT , POST and DELETE also doesn't seem to give the expected output.
>> > > Is
>> > > there
>> > > any settings in IIS that needs to be done in order to test it from
>> > > external
>> > > device?
>> > > Please let me know at the earliest.
>> > >
>> >
>> >
>>
>>
>> Hi Ken
>>
>> > What version of IIS are you using?
>> > GET and POST should work without any need to modify anything. PUT and
>> > DELETE
>> > require WebDAV functionality to be enabled.
>>
>> I am using IIS V5.1
>> I have not tried with WebDAV functionality yet .
>>
>> > When you try GET and POST, what is the HTTP status that is being
>> > returned by
>> > IIS? That should give you some clue as to what is going on.
>> >
>> When I try to use GET method , the HTTP status returned is 500 i.e. "OK"
>> but
>> I don't get the page contents at my embedded device. Regarding the
>> embedded
>> device I cannot give you more details as it is confidential.
>>
>>Regards
>>Pavithra
>
> Mistake in my previous reply.
> When I used the GET method, the HTTP status returned by IIS was 200 not
> 500
>
> Regards
> Pavithra