Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

shavigune's avatar

How to send data to an external URL as a POST method

Hi All,

I have been trying to send post data to an external URL.I have used PHP curl for this and i can send the data to external URL which is success and its returning its data but my browser url is not changing to intended url of of their.It shows as localhost but it should show as their URL.Please help me on this.

Thanks

0 likes
1 reply
Sergiu17's avatar

Open Developer tools -> Network tab and you will see 'their URL'

Please or to participate in this conversation.