Thanks for the video, this really helps. Could you please suggest how to implement this using the browser, as Client / User will not use the Postman, for them we have to provide some interface, for same I was doing a demo and created a HTML + JavaScript (ajax call to API) however it is failing, and not getting any response back. Not sure what I am missing there. Please suggest. Below is the ajax code snippet which I am using. $.ajax({ type: "POST", url : URL, dataType: "json", mode: 'no-cors', crossDomain: "true", contentType: "application/json; charset=utf-8", data: JSON.stringify(data), success: function () { // clear form and show a success message alert("Your entry is saved Successfuly"); document.getElementById("my-form").requestFullscreen(); location.reload(); }, error: function() { // show an error message alert("Seems some issue with the entry, try again.") } });
sorry but im not a javascript guy, more of python scripter, but in the past I have used html forms to make api requests from UI, i think some googling would actually get you what you are looking for
Hello , i am able to receive the email , but somehow im getting an error on Postman ? is it an error on code ? status code says 200 i dont know why , please help { "errorMessage": "Syntax error in module 'lambda_function': unexpected indent (lambda_function.py, line 13)", "errorType": "Runtime.UserCodeSyntaxError", "stackTrace": [ " File \"/var/task/lambda_function.py\" Line 13 return response " ] }
Very helpful video. thanks bro
you are welcome bro :)
Thanks bro, got the flow of creating the lambda's.
You are welcome!!
Thanks for the video, this really helps. Could you please suggest how to implement this using the browser, as Client / User will not use the Postman, for them we have to provide some interface, for same I was doing a demo and created a HTML + JavaScript (ajax call to API) however it is failing, and not getting any response back. Not sure what I am missing there. Please suggest.
Below is the ajax code snippet which I am using.
$.ajax({
type: "POST",
url : URL,
dataType: "json",
mode: 'no-cors',
crossDomain: "true",
contentType: "application/json; charset=utf-8",
data: JSON.stringify(data),
success: function () {
// clear form and show a success message
alert("Your entry is saved Successfuly");
document.getElementById("my-form").requestFullscreen();
location.reload();
},
error: function() {
// show an error message
alert("Seems some issue with the entry, try again.")
}
});
sorry but im not a javascript guy, more of python scripter, but in the past I have used html forms to make api requests from UI, i think some googling would actually get you what you are looking for
perfectly working
yeah :)
Hello , i am able to receive the email , but somehow im getting an error on Postman ? is it an error on code ? status code says 200 i dont know why , please help
{
"errorMessage": "Syntax error in module 'lambda_function': unexpected indent (lambda_function.py, line 13)",
"errorType": "Runtime.UserCodeSyntaxError",
"stackTrace": [
" File \"/var/task/lambda_function.py\" Line 13
return response
"
]
}
may be syntax error in your lambda function.
Hi can you please also same step wise videos for sending multiple sms only with particular senderid
okay, but that would require some third party messaging service provider like twilio, I need to look into it