package com.google.sps.servlets;

import com.google.appengine.api.blobstore.BlobstoreService;
import com.google.appengine.api.blobstore.BlobstoreServiceFactory;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/** */
@WebServlet("/blob-url")
public class BlobUrlServlet extends HttpServlet {
  @Override
  public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException {
    String uploadUrl =
        BlobstoreServiceFactory.getBlobstoreService().createUploadUrl("/blob-handler");

    response.setContentType("text/html");
    response.getWriter().println(uploadUrl);
  }
}

@@ -606,16 +606,8 @@
 rl =
-%0A       
  Blo
@@ -683,17 +683,16 @@
 dler%22);%0A
-%0A
     resp

Update BlobUrlServlet.java to return url