Go another port Hi guys I am new on laravel. I have a form and I want send/post my datas to another port (example my port: 127.0.0.1:123, I want to send/post 127.0.0.1:456). I try ajax but I can't done. Just I did write to console. How I can do this? Thanks in advance.
What are you trying to do here? Are you trying to get two apps talking over http? Or is it all one app ?
@Sinnbeck It means post ID. Redirect with Ajax probably ;)
@Sinnbeck One app but actually ı don't know what is listening me on other port. I am trying to post correct way than I post other port
@onurzdgn Can you explain a bit more? Why would it use port 456? Why does it need to be on a different post?
@Sinnbeck I want to ask this. How I do with ajax and how I check is it working, to my app.
@onurzdgn Just send the ajax request to the url your app is running on. No need to use a different port
@Sinnbeck url: "{{ route('ajaxRequest.post') }}", like that I am write?
@onurzdgn If your url is named like that, then yes. Or just
url: '/some/path',
Please sign in or create an account to participate in this conversation.