Http call using Home Assistant

Hey there

This might be a dumb question but how do you make an http post call.

I’m looking to run a php script from my website when say there is motion in my house.

Thank you

A command line switch could help.