Skip to content
This repository has been archived by the owner on Dec 29, 2023. It is now read-only.

Error when retrieving cards of newly created customer #902

Open
chrisbartoloburlo opened this issue Oct 20, 2022 · 0 comments
Open

Error when retrieving cards of newly created customer #902

chrisbartoloburlo opened this issue Oct 20, 2022 · 0 comments

Comments

@chrisbartoloburlo
Copy link

When creating a new user and attempting to retrieve it using the following curl commands, I get a 404 error indicating that it cannot be found.

curl -v\
  --request POST \
  --url 'http://localhost:80/register' \
  --header 'Content-Type: application/json;charset=UTF-8' \
  --header 'Cookie: <cookie>' \
  --data 'username=testUser-540412494&password=testPassword&email=test-540412494@domain.com' \
  --location \
  --max-redirs 32

curl -v\
  --request GET \
  --url 'http://localhost:80/customers/{customerId}/cards' \
  --header 'Content-Type: application/json' \
  --header 'Cookie: <cookie>' \
  --location \
  --max-redirs 32
@chrisbartoloburlo chrisbartoloburlo changed the title Error when retrieving newly created customer Error when retrieving cards of newly created customer Oct 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant