Endpoints API: Create

  • In this lesson, you will learn how to add a model object to the ndb datastore.
  • In the video we'll add the hostname field to the annotation.
DO NOT ADD THE HOSTNAME FIELD!
  • When the video was made it was fine to add hostname='blah', but now you should not have the hostname field at all (just leave it out). There have been changes to Endpoints since the video was made. If you do what the video does then it won't let you do localhost API Explorer testing, which we'll need later!
  • Link to instructions doc.