anchor.diff:          
           $.ajax({
   
  -              url: "https://"+window.location.host+"/rest/activity/",
  -              //url: "/rest/activity",
  +              //url: "https://"+window.location.host+"/rest/activity/",
  +              url: "/rest/activity",
                 type: "POST",
                 data: JSON.stringify(activityData),
                 contentType: "application/json; charset=utf-8",
  
positive.code:                         <h3 style="text-align:center;">Upcoming Events!</h3>
                          <img src="img/portfolio/submarine.png" class="img-responsive" alt="">
                      </a>
                  </div> 
  
                  <div class="col-sm-6 portfolio-item">
                      <a href="#newActivity" class="portfolio-link" data-toggle="modal">
                          <div class="caption">
                              <div class="caption-content">
  
negative.code:                         <div class="modal-body">
                          <h2>Create a new Activity</h2>
                              <hr class="star-primary">
                              <img src="img/portfolio/submarine.png" class="img-responsive img-centered" alt="" height="100" width="200">
                             <form>
                                    <div class="form-group">
                                      <label for="activityName">Activity Name</label>
  