lundi 19 avril 2021

Execute curl via remote php server

I execute this request through the server console. curl -XPOST -d 'method1=objects.get&arg1={"account_id_abonents":"<ID-абонента>"}&fields=["balance"]' http://<ip:8080/api/v2/Accounts/ -D - It is work fine.

How can I form the same request via php script from a remote web server?




Aucun commentaire:

Enregistrer un commentaire