Skip to content
Advertisement

Unable to send sms on whatapp throguht route

bascially i am making a route in which i have connect my api of whatapp when i send a number in my json response thought software this route should send me a whatapp message on that number

JavaScript

this is my request body: {

JavaScript

}

Advertisement

Answer

You aren’t formatting your API request URL. The variables can’t be passed directly in the string, as they can’t be distinguished from words. You need to use a format string.

JavaScript

Read more about it here: https://www.pythoncheatsheet.org/cheatsheet/string-formatting

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement