Running a curl on my local WordPress install:
curl --location --request GET 'https://local.test/wp-json/wp/v2/posts' \
--header 'Authorization: Basic SomeAweseomKey' \
--header 'Cookie: PHPSESSID=ba5ea78b3f9eeddf3cd064674e1381c2'
Returns:
{
"code": "rest_invalid_param",
"message": "Invalid parameter(s): status",
"data": {
"status": 400,
"params": {
"status": "String value found, but an array is required"
}
}
}
I could send the OPTIONS request since I do see status listed twice, but they are both core fields. 🤔 Curious if it's a core issue or something else.
Running a curl on my local WordPress install:
Returns:
{ "code": "rest_invalid_param", "message": "Invalid parameter(s): status", "data": { "status": 400, "params": { "status": "String value found, but an array is required" } } }I could send the OPTIONS request since I do see
statuslisted twice, but they are both core fields. 🤔 Curious if it's a core issue or something else.