need to enable http post and read for my webservice

J

jens Jensen

Hello,

How can i have my web service to interact through HttpPost and HttpGet?
I dont need soap (mostly just xml over http).

I read this can be achieved through web.config but , where to put the code?

How to read/write using this method.

Many thanks
JJ
 
J

John Timney \( MVP \)

Something like this

<configuration>
<system.web>
<webServices>
<protocols>
<add name="HttpGet"/>
<add name="HttpPost"/>
</protocols>
</webServices>
</system.web>
</configuration>
 
J

John Timney \( MVP \)

Those settings allow your web application to accept incoming webservice
method requests based on get and post protocols. Your asmx file exposes the
methods that clients can call.
 

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,769
Messages
2,569,581
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top