From fc5a2df08093c04c991d7e39d519765f4848a743 Mon Sep 17 00:00:00 2001 From: Gregory Saumier-Finch Date: Tue, 15 Feb 2022 16:24:41 -0500 Subject: [PATCH] Update README.md --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 923989d..394fcfd 100644 --- a/README.md +++ b/README.md @@ -5,10 +5,12 @@ This is a Wordpress plugin that adds additional fields of User metadata to the W This plug-is for CAPACOA only. Here is an example call to get a list of 50 users: -GET /wp-json/wp/v2/users?per_page=50 + +`GET /wp-json/wp/v2/users?per_page=50` Here is an example JSON output for user id: "25" in the test environment http://test.capacoa.ca - "usermeta": { +``` +"usermeta": { "operating_name1": "The Test Arts Centre", "operating_name1_language": "en", "operating_name2": "Le Centre des arts bidon", @@ -37,4 +39,4 @@ Here is an example JSON output for user id: "25" in the test environment http:// "pmpro_bcountry": "CA", "pmpro_bcity": "Gatineau", "pmpro_bstate": "QC" - } \ No newline at end of file + }