• Resolved Zambu

    (@thomasw98)


    I was going to ask if this supports OAuth 2.0, but I searched this forum and found a mention of this option in the translation section of the forum. So I assume the answer is yes, but please confirm for me. Thanks.

    Secondly, I want to send an HTTP Post Request with attached data to a google api (e.g. https://proximitybeacon.googleapis.com/v1beta1/{+beaconName}/attachments). Am I able to send the needed data along with the request? (Either free or pay version is ok).

    The official Google description of this post process is:

    “Attachment data must contain two parts:

    • A namespaced type.
    • The actual attachment data itself.

    The namespaced type consists of two parts, the namespace and the type. The namespace must be one of the values returned by the namespaces endpoint, while the type can be a string of any characters except for the forward slash (/) up to 100 characters in length. Attachment data can be up to 1024 bytes long. Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2) from a signed-in user with **Is owner** or **Can edit** permissions in the Google Developers Console project.
    Request: POST https://proximitybeacon.googleapis.com/v1beta1/{+beaconName}/attachments
    Mandatory HTTP Headers:”

    Thirdly, can the plugin also handle PUT requests?

    This plugin is a great idea and badly needed. Thanks for working on this!

Viewing 1 replies (of 1 total)
  • Plugin Author berkux

    (@berkux)

    Hi,

    neither the free version nor the pro-version supports OAuth 2.0 in the sense, that a double request has to be done. If the API supports a permanent token this can be used by the pro-version.

    the pro-version can send a curl-reuest (post with data inthe header / body).

    put: yet the pro-version can’t do that, but as curl-put this can be added (not added as there was no demand for that up to now).

    Switch to
    https://jsoncontentimporter.freshdesk.com/widgets/feedback_widget/new?searchArea=no
    for further questions, as there is the pro-version support.

Viewing 1 replies (of 1 total)

The topic ‘Making an HTTP Post Request with data attached’ is closed to new replies.