code: function registerTemplate(post) {
          templateMap[post.id] = post.template;
          record("Registered template: " + post.template, 0);
  
      }
docs: Registers the mock into mockReqRespMap
  
  @param req =>
  contains the mock api call (request query string contains request
  path, fake status code, fake content type)
  @param post =>
  contains the fake response