Add recipe section about testing API connection

Update php example

Update doc