Skip to content

Iron-Ajax wrapper for signing requests for AWS private APIG endpoints using Polymer 2

License

Notifications You must be signed in to change notification settings

sharedlabs/aws-sv4-ajax

Repository files navigation

<aws-sv4-ajax> using Polymer 2

Iron-Ajax wrapper for signing requests for AWS private APIG endpoints using Polymer 2

Example

<aws-sv4-ajax
    id="ajax"
    api-endpoint="https://id.execute-api.eu-central-1.amazonaws.com/dev"
    path="apipath"
    method="get"
    params='{"foo":"bar"}'
    handle-as="json"
    region="eu-central-1"
    access-key-id="ASIAJUJT9T0JQ64J22RJ"
    secret-key="cTig+gy0LjjDfjcL3S1kd6w+8SFovw7MyDVLBSId"
    session-token="AgoGb3JpZ2luENT//////wEaDGV1LWNlbnRyYWwtMSKAAhz80TDA..."></aws-sv4-ajax>
this.$.ajax.generateRequest().then(response => {
  console.log(response);
});

About

Iron-Ajax wrapper for signing requests for AWS private APIG endpoints using Polymer 2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages