Welcome Guest, Not a member yet? Register   Sign In
REST API webservices
#6

(This post was last modified: 01-23-2016, 12:34 PM by arma7x.)

From what I know, you only state one response code returned. Example, $this->response($book, 201); // Send an HTTP 201 Created. If you get the user data & salaries via POST then just use the value you get to process the request. If successful then return ok or vice versa. They're many HTTP status code.
KeepĀ calm.
Reply


Messages In This Thread
REST API webservices - by Chandini - 01-22-2016, 05:43 AM
RE: REST API webservices - by Narf - 01-22-2016, 06:48 AM
RE: REST API webservices - by Chandini - 01-22-2016, 11:47 PM
RE: REST API webservices - by Narf - 01-23-2016, 05:39 AM
RE: REST API webservices - by LeMec - 01-23-2016, 10:56 AM
RE: REST API webservices - by Narf - 01-23-2016, 02:02 PM
RE: REST API webservices - by LeMec - 01-23-2016, 03:43 PM
RE: REST API webservices - by skunkbad - 01-23-2016, 04:30 PM
RE: REST API webservices - by LeMec - 01-24-2016, 11:43 AM
RE: REST API webservices - by ciadmin - 01-24-2016, 11:59 AM
RE: REST API webservices - by kenjis - 01-24-2016, 03:12 PM
RE: REST API webservices - by arma7x - 01-23-2016, 12:29 PM
RE: REST API webservices - by skunkbad - 01-23-2016, 01:11 PM
RE: REST API webservices - by kankuro - 01-24-2016, 03:23 AM
RE: REST API webservices - by LeMec - 01-24-2016, 11:25 AM
RE: REST API webservices - by skunkbad - 01-24-2016, 11:51 AM
RE: REST API webservices - by LeMec - 01-24-2016, 11:57 AM
RE: REST API webservices - by Narf - 01-25-2016, 03:54 AM
RE: REST API webservices - by LeMec - 01-24-2016, 12:08 PM
RE: REST API webservices - by LeMec - 01-25-2016, 07:47 AM
RE: REST API webservices - by Narf - 01-25-2016, 08:22 AM
RE: REST API webservices - by LeMec - 01-25-2016, 08:46 AM
RE: REST API webservices - by Narf - 01-25-2016, 09:01 AM
RE: REST API webservices - by LeMec - 01-25-2016, 09:10 AM
RE: REST API webservices - by Chandini - 01-28-2016, 10:55 PM



Theme © iAndrew 2016 - Forum software by © MyBB