Difference between revisions of "UpdateScriptAgent"
Jump to navigation
Jump to search
(Example (better than being blank)) |
(Followed through example of uploading script for server-side compilation) |
||
Line 6: | Line 6: | ||
<uuid>49b48bf9-2b40-d3fa-aea7-c856bf8b3dfb</uuid> | <uuid>49b48bf9-2b40-d3fa-aea7-c856bf8b3dfb</uuid> | ||
<key>target</key> | <key>target</key> | ||
<string> | <string>mono</string> | ||
</map> | </map> | ||
</llsd> | </llsd> | ||
Line 22: | Line 22: | ||
</llsd> | </llsd> | ||
</pre> | </pre> | ||
POSTed script text to uploader and it worked | |||
Response to upload: | |||
<?xml version="1.0" ?> | |||
<llsd> | |||
<map> | |||
<key>compiled</key> | |||
<boolean>true</boolean> | |||
<key>state</key> | |||
<string>complete</string> | |||
<key>new_asset</key> | |||
<uuid>8cec7e2f-a151-e055-61d2-2d5c5146549b</uuid> | |||
</map> | |||
</llsd> |
Revision as of 11:31, 16 September 2008
POST:
<llsd> <map> <key>item_id</key> <uuid>49b48bf9-2b40-d3fa-aea7-c856bf8b3dfb</uuid> <key>target</key> <string>mono</string> </map> </llsd>
Response:
<llsd> <map> <key>state</key> <string>upload</string> <key>uploader</key> <string>https://sim2777.agni.lindenlab.com:12043/cap/c184fe54-9094-353a-4b3c-44f902c61fca</string> </map> </llsd>
POSTed script text to uploader and it worked
Response to upload: <?xml version="1.0" ?> <llsd> <map> <key>compiled</key> <boolean>true</boolean>
<key>state</key> <string>complete</string>
<key>new_asset</key> <uuid>8cec7e2f-a151-e055-61d2-2d5c5146549b</uuid> </map> </llsd>