Question: What do you call the event when binding was finished? 

Example:
1. An SqlDataSource named SqlDataSource1 is present on the page.
2. A GridView named GridView1 is also present; its DataSource is the SqlDataSource1.

Now, I want to run some codes right after populating GridView1. 

Thanks in advance!

Answer: 
Your code is fine - the problem is with the way you're invoking curl. When passing a URL to curl that contains a '&', you have to put quotes around the URL. Otherwise, the shell will interpret the stuff after the '&' as a separate command.

EDIT: My text is getting munged when I submit it as a comment. Here's what you need to do:

```
curl -X PUT 'http://localhost:8080/project/resources/user/directory/sub-directory?name=shareuser&type=Read' -v

```
Have you tried using the -d option? e.g.

```
curl -X PUT -d "name=shareuser&type=Read" http://locahost:8080/project/resources/user/directory/sub-directory -v

```