Buy Now
Sign in

Submit a form, but do not wait for response

M
mapme 97
November 20 2018 #381655
Hi,
I am hoping to use a CF action to submit a URL that spins off a web service, but NOT to have to wait for the response.
I've come up short on this, having looked at cURL, file_get_contents and other methods.
Is there are way to do this out of the box with CF? Open to any suggestion!
Thanks.
healyhatman 5.7
November 20 2018 #381657
No and according to Stackoverflow it's not something PHP does "out of the box" either.
https://stackoverflow.com/questions/14359926/send-http-request-from-php-without-waiting-for-response
Pretty sure you should wait for a response though, otherwise how do you know the data submitted? That the URL you're sending to isn't down?
Web developer at SkySpider.com.au
I don't work for ChronoEngine but I do accept donations paypal.me/healyhatman

You can now copy+paste code from forums