Skip to content

Commit 5702e79

Browse files
Merge pull request #34 from woothemes/wp-api-v1-proof
Wp api v1 proof
2 parents f909c7f + 74fc75a commit 5702e79

File tree

3 files changed

+196
-236
lines changed

3 files changed

+196
-236
lines changed

source/includes/wp-api-v1/_index.md

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
# Index #
22

3-
By default WP REST API provides informations about the endpoints available for the site. No authentication is required to access the API index.
4-
5-
## View Index List ##
6-
7-
Retrieve WooCommerce REST API endpoints information.
3+
By default, the API provides information about all available endpoints on the site. Authentication is not required to access the API index.
84

95
### HTTP Request ###
106

@@ -16,8 +12,7 @@ Retrieve WooCommerce REST API endpoints information.
1612
</div>
1713

1814
```shell
19-
curl https://example.com/wp-json/wc/v1 \
20-
-u consumer_key:consumer_secret
15+
curl https://example.com/wp-json/wc/v1
2116
```
2217

2318
```javascript

0 commit comments

Comments
 (0)