Hello forum: I want to call this API using mvt:call during OSEL load.
Have been trying to do it with javascript on OCST submit but I'm stumped there. Timing issue.
Page submits before API replies.
The API:
xhr.open('GET', 'https://email-checker.p.rapidapi.com/verify/[email protected]');
xhr.setRequestHeader('x-rapidapi-key', '2bc0b6e2aamsheb878d99ffdb850p1e5a07jsn417xxxxxxxx ');
xhr.setRequestHeader('x-rapidapi-host', 'email-checker.p.rapidapi.com');
How would I set the request headers with mvt:call?
Or does Miva have a function to do this?
Cheers, Larry
Have been trying to do it with javascript on OCST submit but I'm stumped there. Timing issue.
Page submits before API replies.
The API:
xhr.open('GET', 'https://email-checker.p.rapidapi.com/verify/[email protected]');
xhr.setRequestHeader('x-rapidapi-key', '2bc0b6e2aamsheb878d99ffdb850p1e5a07jsn417xxxxxxxx ');
xhr.setRequestHeader('x-rapidapi-host', 'email-checker.p.rapidapi.com');
How would I set the request headers with mvt:call?
Or does Miva have a function to do this?
Cheers, Larry
Comment