Closed simplenotezy closed 4 years ago
Describe the bug I am sending a POST request to: /wp-json/wc/v3/wishlist/create
/wp-json/wc/v3/wishlist/create
I use the JWT Token plugin to authenticate users (not WooCommerce REST API).
I get a blank code 200 response, no matter if I include the authorization code or not.
This is my request:
This is my request headers:
Why?
Expected behavior A response including the shared key.
Isolating the problem (mark completed items with an [x]):
WordPress Environment
This does not happen if I include user_id, status and title in the request. I would expect an error code if required fields was not typed in.
user_id
status
title
How do I create a wishlist for a user, that is NOT logged in?
Describe the bug I am sending a POST request to:
/wp-json/wc/v3/wishlist/create
I use the JWT Token plugin to authenticate users (not WooCommerce REST API).
I get a blank code 200 response, no matter if I include the authorization code or not.
This is my request:
This is my request headers:
Why?
Expected behavior A response including the shared key.
Isolating the problem (mark completed items with an [x]):
WordPress Environment