API and Web Service | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

API and Web Service

pls help me to create api and webservices in php

6th Mar 2017, 8:07 AM
Mohsen Mahdavi
Mohsen Mahdavi - avatar
4 ответов
+ 1
what help do you need? php is built-in into web server (Apach or other) and procesdef rewuedy, which are received from the web server. Webservices (typically, but not necessarily) transmit request parameters by method POST. PHP they are accessed through the superglobal array _POST Example webservice will return name by nick. <? $nick = _POST['name']; $name = any_function_which_find_name_by_nick($nick); echo $nane;
6th Mar 2017, 12:24 PM
Mikhail Kon
+ 1
Hey. I make easy web-service on php. Do you need example?
14th Mar 2017, 6:23 AM
Mikhail Kon
0
thanks
7th Mar 2017, 5:17 AM
Mohsen Mahdavi
Mohsen Mahdavi - avatar
0
plz make example
14th Mar 2017, 7:46 AM
Mohsen Mahdavi
Mohsen Mahdavi - avatar