Last post Jun 21, 2020 12:05 AM by bruce (sqlwork.com)
Jun 19, 2020 02:59 AM|guhananth1|LINK
I am calling whatspp api using post method . I pass json string as below
HttpClient cl = new HttpClient("https://aspi.whatsapp.com");
"text" :"Hello Gujarat";
I want to write Http post by passing the url like this https://aspi.whatsapp.com/send?phone=9199458224XX&text=Hello%20GujaratBy post method end-user will receive whatsapp message I think.
Jun 19, 2020 03:41 PM|bruce (sqlwork.com)|LINK
To send a WhatsApp message, you need to use the business api
The only option available without an account, is the click to open chat page
this is a link you put on your page, that navigates to the WhatsApp site.
Jun 20, 2020 09:47 AM|guhananth1|LINK
In browser if i type https://wa.me/9199458224XX?text=I%27m%20interested%20in%20your%20car%20for%20sale it navigates to whatspp page
if i send the same request throught HttpsClient using post method how to pass the values as query string . Input is json string like the below
text:"I am interested in your car sales"
I want the message to be delivered in my whatspp number - "919945822XXX"
Jun 21, 2020 12:05 AM|bruce (sqlwork.com)|LINK
Now you talking about screen scraping.
your webclient does the same get. The response will be the html you see. Presumably the page has a form. You will post back the form values. You probably will need authentication ,and and include the cookie with the form post.
any the easiest way to reverse engineer, is to use fiddler to trace the network requests. Determine how the gets work, and what the form posts are. Then you can duplicate.