4 Replies Latest reply on Sep 7, 2016 3:41 AM by electon

    BE_HTTP_POST no request body

    electon

      Using BaseElements version 3.1.a1, FMPA 14, OSX 10.11.6

       

      Does anyone know if it's possible to send a POST request without the request body?

       

      I'm trying to get the Google Calendar API to move events from one calendar to another.

      OAuth 2.0 requiers for custom headers to be set so can't use Insert From URL.

       

      The URL is like this:

      https://www.googleapis.com/calendar/v3/calendars/calendarId/events/eventId/move?destination=destinationcalendarId

       

      The documentation states the POST should be sent without the request body but it looks like, looking at BE_Curl_Trace that BE_HTTP_POST just defaults to GET if no data parameter is specified.

       

      When sending the destination as a parameter, response is: missing parameter: destination.

       

      Any insight will be greatly appreciated.

      Thomas.