Skip to content

Commit

Permalink
MWPW-162959: Swap aa endpoint (#269)
Browse files Browse the repository at this point in the history
* Changing the API endpoint to POST to for AA form fills

* Adding content type header
  • Loading branch information
JasonHowellSlavin authored Dec 4, 2024
1 parent 378a452 commit a2a00e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/aa-university.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ export default function registerAAUniversity() {

if (group) postBody.group = group.content;

fetch('https://us-central1-adobe---aa-university.cloudfunctions.net/register', {
fetch('https://14257-bacomaaep-stage.adobeio-static.net/api/v1/web/bacom-umep/register', {
method: 'POST',
body: JSON.stringify(postBody),
headers: { 'Content-Type': 'application/json' },
})
.catch((error) => window.lana.log(`Marketo AA University Error: ${error}`));

Expand Down

0 comments on commit a2a00e1

Please sign in to comment.