Originally posted by rajpatel_uk
View Post
PUT does allow data to be sent. Does it literally send "null" or do you mean it just ends up sending a blank value? This quick program works for me (albeit I imagine the data being send will need to have some kind of delimiter).
Code:
<MIVA STANDARDOUTPUTLEVEL = "">
<MvASSIGN NAME = "l.duration" VALUE = "forever">
<MvASSIGN NAME = "l.type" VALUE = "outside">
<MvASSIGN NAME = "l.price" VALUE = "expensive">
<MvCALL METHOD = "PUT"
ACTION = "http://localhost"
FIELDS = "l.duration, l.type, l.price">
</MvCALL>
Code:
PUT / HTTP/1.1 Host: localhost Content-Type: text/plain Content-Length: 23 Connection: close foreveroutsideexpensive
Leave a comment: