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.
Redirect
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();