How to enable POST and GET methods in web services

A

Anonieko

Just add <webServices><protocols> section

<?xml version="1.0"?>
<configuration>
<system.web>

<!--- etc etc -->

<webServices>
<protocols>
<add name="HttpGet"/>
<add name="HttpPost"/>
</protocols>
</webServices>

</system.web>
</configuration>


Of course you do it by location path also


<?xml version="1.0"?>
<configuration>

<system.web>
<!--- etc etc -->
</system.web>

<location path="Email">
<system.web>
<authorization>
<allow users="*" />
</authorization>
</system.web>
</location>

</configuration>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,781
Messages
2,569,615
Members
45,296
Latest member
HeikeHolli

Latest Threads

Top