AWS API Gateway & SS2.0 user events: Has anyon...
# suitescript
y
AWS API Gateway & SS2.0 user events: Has anyone ever managed to write a script that uses a http.post call to trigger an AWS API Gateway endpoint? For some reason I am getting an error that "The URL must be a fully qualified HTTP/HTTPS URL", but I am quite sure that it is, and this same URL works for me just fine through Postman. Is there something else that I have to do specifically to get it to work within my User Event? For a high level structure of the URL: https://insertRandomLettersAndNumbersHere.execute-api.ap-southeast-2.amazonaws.com/a/b
b
what does the code look like
r
You should use https.post method instead of http.post.
🙌 1
👍 1
y
Thank you! That did it! That was a subtlety I missed 🙃