title: Google Calendar API v3 Returns "Not Found" when updating an Event
body: <p>Ok, first off, if this question has been answered, please simply point me in the correct direction.  I have searched and searched without being able to find an answer to what I am running into.</p>
  
  <p>Here's the scenario, I have an application that needs to be able to do the following:</p>
  
  <ol>
  <li>Get a list of events for a specified calendar</li>
  <li>Determine the start and end time of the events</li>
  <li>If the start time is not correct (i.e. we had events being created at 6:01 instead of 6:00) it needs to adjust the start time</li>
  <li>Send a POST request to update the start and end times</li>
  </ol>
  
  <p>So far, I have 1-3 accomplished without a problem, my problem is on number 4.  I have a list of events, I have modified the times and created the post request, however, it always comes back with a "Not Found" response, and I'm totally confused.</p>
  
  <p>Here is part of the response I get back when requesting a list of events :</p>
  
  <pre><code>[1] =&gt; stdClass Object
      (
          [kind] =&gt; calendar#event
          [etag] =&gt; "ZrhdJMCgpoUK_a5fT7XOC6xn46g/Z2NhbDAwMDAxMzU4NjE3MzM1NDE1MDAw"
          [id] =&gt; dbqcfrdvkm40tnuvbk46mv1ktg
          [status] =&gt; confirmed
          [htmlLink] =&gt; ########################
          [created] =&gt; 2013-01-19T17:42:15.000Z
          [updated] =&gt; 2013-01-19T17:42:15.415Z
          [summary] =&gt; #########################
          [description] =&gt; ########################
          [location] =&gt; Traverse City, MI
          [creator] =&gt; stdClass Object
              (
                  [email] =&gt; ######################
              )
  
          [organizer] =&gt; stdClass Object
              (
                  [email] =&gt; ##################################
                  [displayName] =&gt; Kent County
                  [self] =&gt; 1
              )
  
          [start] =&gt; stdClass Object
              (
                  [dateTime] =&gt; 2013-01-19T13:01:00-05:00
                  [timeZone] =&gt; America/New_York
              )
  
          [end] =&gt; stdClass Object
              (
                  [dateTime] =&gt; 2013-01-19T16:01:00-05:00
                  [timeZone] =&gt; America/New_York
              )
  
          [recurrence] =&gt; Array
              (
                  [0] =&gt; RRULE:FREQ=WEEKLY;UNTIL=20130331T000000Z
              )
  
          [iCalUID] =&gt; ###############################
          [sequence] =&gt; 0
          [attendees] =&gt; Array
              (
                  [0] =&gt; stdClass Object
                      (
                          [email] =&gt; ####################
                          [displayName] =&gt; ##############
                          [responseStatus] =&gt; needsAction
                      )
  
              )
  
          [reminders] =&gt; stdClass Object
              (
                  [useDefault] =&gt; 1
              )
  
      )
  </code></pre>
  
  <p>as you can see, I am getting the event id without issue, then I turn around and create the post request using the calendar id and the event id I just received</p>
  
  <pre><code>https://www.googleapis.com/calendar/v3/calendars/{CALENDAR ID}/events/dbqcfrdvkm40tnuvbk46mv1ktg?key={API KEY}
  </code></pre>
  
  <p>and this is where I get stuck, the only response I'm getting back is "Not Found" even though the headers being sent with the request look fine</p>
  
  <pre><code>Array
  (
  [url] =&gt; https://www.googleapis.com/calendar/v3/calendars/{CALENDAR ID}/events/dbqcfrdvkm40tnuvbk46mv1ktg?key={API KEY}
  [content_type] =&gt; text/html; charset=UTF-8
  [http_code] =&gt; 404
  [header_size] =&gt; 360
  [request_size] =&gt; 485
  [filetime] =&gt; -1
  [ssl_verify_result] =&gt; 0
  [redirect_count] =&gt; 0
  [total_time] =&gt; 0.364634
  [namelookup_time] =&gt; 3.0E-5
  [connect_time] =&gt; 0.08616
  [pretransfer_time] =&gt; 1.7E-5
  [size_upload] =&gt; 105
  [size_download] =&gt; 9
  [speed_download] =&gt; 24
  [speed_upload] =&gt; 287
  [download_content_length] =&gt; -1
  [upload_content_length] =&gt; 105
  [starttransfer_time] =&gt; 0.3646
  [redirect_time] =&gt; 0
  [certinfo] =&gt; Array
      (
      )
  
  [redirect_url] =&gt; 
  [request_header] =&gt; POST /calendar/v3/calendars/{CALENDAR ID}/events/dbqcfrdvkm40tnuvbk46mv1ktg?key={API KEY} HTTP/1.1
  Host: www.googleapis.com
  Accept: */*
  Content-Type: application/json
  Authorization: Bearer {SECURITY TOKEN}, X-JavascriptUser-Agent: HiddenOnes
  Content-Length: 105
  )
  </code></pre>
  
  <p>If I go to the Google Developer center and use the Events:update test area, this is the url that's generated:</p>
  
  <pre><code>https://www.googleapis.com/calendar/v3/calendars/{CALENDAR ID}/events/dbqcfrdvkm40tnuvbk46mv1ktg?key={YOUR_API_KEY}
  </code></pre>
  
  <p>And if I test it from there it works just fine, so I am completely stumped right now so any valid, useful ideas would be welcome.</p>