Description of the code sample

    The following command deletes property "foo" attached to user "bar":

    Sample Code

    tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt

    Edit section
    1
    curl -u username:password -Xcurl -u username:password -Xcurl -u username:password -Xcurl -u username:password -Xcurl -u username:password -Xcurl -u username:password -Xcurl -u username:password -Xcurl -u username:password -Xcurl -u username:password -Xcurl -u username:password -Xcurl -u username:password -Xcurl -u username:password -X DELETE -i http://mindtouch.address/@api/deki/user/=bar/properties/foo

    Implementation notes 

    Edit section

    curl flags

    Edit section
    -u
    Provides external user authentication.
    -X
    Specifies the HTTP request method.
    -i
    Outputs the HTTP response headers. Useful for debugging.
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by