How do you do an HTTP Put?

前端 未结 11 2042
孤独总比滥情好
孤独总比滥情好 2020-12-04 14:19

We have this software that has a webservices component.

Now, the administrator of this system has come to me, wanting to import data into the system by using the webs

11条回答
  •  感情败类
    2020-12-04 14:32

    "Now, the administrator of this system has come to me, wanting to import data into the system by using the webservices component."

    Web services have little to do with HTML forms.

    Web services requests are either done from Javascript (e.g., as Ajax) or they're done from your application programs.

    You would write a C# or VB program that used HTTP to do a Put to the given web services URL with the given set of data.

    Here, for instance, is some sample VB code: http://developer.yahoo.com/dotnet/howto-rest_vb.html#post

    Replace the method string of "POST" with "PUT".

提交回复
热议问题