If you use the postman application you can test your API calls and it also allows you to generate HTTP or PHP code to use on a website. Just keep in mind, there is typically some dependency requirements for those.
Adam R MS | CISSP, CISM, VCP, MCITP, CCNP, ITILv3, CMNO
If this was helpful click the Kudo button below
If my reply solved your issue, please mark it as a solution.