Saturday 15 August 2015

json - Using REST API, Oauth in php -


I am creating a mobile website with registration form. They gave me a REST API member service to post data from my mobile registration form. I know that everyone is sending data to the email address using PHP.

How to use the RES API in PHP?

I must also validate that the email address is current.

Thank you for your help.

This is a very lightweight PHP library for your PHP rest customer who will write you the rest of the client Provides too much functions for (i.e. HTTP requests, setting headers, authentication, etc.). It is much easier than low level libraries such as curls.

The validity of the email address will usually be controlled by the REST server, which means that when you post your data with your registration form and email is already taken, send a reasonable response to the server That is, status code 409 conflict or something like this can provide a special request that you can send in advance to check email. It really depends on the REST API you use.

No comments:

Post a Comment