You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.
Jean-Guilhem Rouel edited this page Feb 24, 2016
·
3 revisions
An observer of unicorn is simply a webservice whose the reponse page validate the [wiki:observer-reponse] schema (output contract). In this part, we're going to make a calculator webservice which respect this output contract.
BR
caculator.php
Explanation
* Input:
* the parameter uri = path to your text file what is accessible by your server
* the parameter x2 = 0/1: double the results
* Output: a observer-reponse which expose all possible calculation result in the file
* Test: http://flyingman.sophia.w3.org/calculator.php?uri=http://flyingman.sophia.w3.org/test.txt&x2=1
Use an extra layer of security with two factor authentication (2FA) when logging into google