diff --git a/.vs/ProjectSettings.json b/.vs/ProjectSettings.json
new file mode 100644
index 0000000..f8b4888
--- /dev/null
+++ b/.vs/ProjectSettings.json
@@ -0,0 +1,3 @@
+{
+ "CurrentProjectSetting": null
+}
\ No newline at end of file
diff --git a/.vs/slnx.sqlite b/.vs/slnx.sqlite
new file mode 100644
index 0000000..437710e
Binary files /dev/null and b/.vs/slnx.sqlite differ
diff --git a/client/app/following/following.html b/client/app/following/following.html
index 257cf62..70fc206 100644
--- a/client/app/following/following.html
+++ b/client/app/following/following.html
@@ -1,9 +1,10 @@
\ No newline at end of file
+ Add new follow
+
\ No newline at end of file
diff --git a/client/app/following/following.js b/client/app/following/following.js
index d38393f..20d91c9 100644
--- a/client/app/following/following.js
+++ b/client/app/following/following.js
@@ -8,7 +8,17 @@ angular.module('followingList', ['ngRoute'])
const requestOptions = {
headers: { 'X-session': $rootScope.x_session }
- };
+ }; //600611034 tell me how to do
+ self.sendfollow = function sendfollow(username) {
+
+ const data = "followingname=" + encodeURIComponent(username);
+ $http.post('http://localhost:8080/twitterapi/following/', data, requestOptions);
+ }
+ self.sendunfollow = function sendunfollow(username) {
+ $http.defaults.headers.delete = { 'X-session': $rootScope.x_session };
+ const data = "followingname=" + encodeURIComponent(username);
+ $http.delete('http://localhost:8080/twitterapi/following/?' + data);
+ }
$http.get('http://localhost:8080/twitterapi/following/', requestOptions).then(function (response) {
self.followings = response.data;