Aws customer redirect

AWS customer redirect

Redirect a request made from the AWS marketplace to the front-end so the customer can be registered with a selected project. The given AWS token will be decoded and stored for future reference.

POSThttps://cloud-api.calyptia.com/v1/aws-customer-redirect
Body
x-amzn-marketplace-token*string
Response

Redirect

Headers
Request
const response = await fetch('https://cloud-api.calyptia.com/v1/aws-customer-redirect', {
    method: 'POST',
    headers: {
      "Content-Type": "application/x-www-form-urlencoded"
    },
    body: JSON.stringify({
      "x-amzn-marketplace-token": "text"
    }),
});
const data = await response.json();