Reputation: 161
I am using ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux] Rails 4.2.4
i have sms integration API which needs to send http request like below
http://123.63.33.43//blank/sms/user/urlsmstemp.php?username=XXXX&pass=XXXX&senderid=XXXX&dest_mobileno=#XXXX&tempid=45902&response=Y
i need to execute it background after creating a record. Thanks in advance.
Upvotes: 0
Views: 170
Reputation: 1484
You can use RestClient for make any kind of third party API call and for background job you can use Delayed::Job
Hope this will help you.
Upvotes: 1