Forums

Submit a form, but do not wait for response

mapme 20 Nov, 2018
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 20 Nov, 2018
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?
This topic is locked and no more replies can be posted.