How can I connect to the rest web services in php?
I want to connect to this web service and writing a hotel booking system with php.
hotel web service link
https://pintapin.docs.apiary.io/#reference/users/update-user/update-user
How many ways to do this?
Thanks
Asked
Active
Viewed 67 times
0

Hossein Bajan
- 2,644
- 5
- 19
- 36
-
3Could you be a little more specific? – user123 Jan 03 '18 at 12:01
-
1the answer to this question would be too broad for the stack overflow please refer some documents for this and try some code and then if you get stuck anywhere we are here for help. thank you. – Dhaval Purohit Jan 03 '18 at 12:07
-
PHP itself has a REST service? – Markus Zeller Jan 03 '18 at 12:10
-
I want to connect to this web service and writing a hotel booking system wth php. https://pintapin.docs.apiary.io/#reference/users/update-user/update-user – Hossein Bajan Jan 03 '18 at 12:19
-
Possible duplicate of [Call a REST API in PHP](https://stackoverflow.com/questions/9802788/call-a-rest-api-in-php) – Hossein Bajan Jan 03 '18 at 12:45
1 Answers
1
I think the curl library will solve what you are trying to do. Please find the link below for more information on how to call a rest api in PHP.

Clement Hamon
- 56
- 4