cancel
Showing results for 
Search instead for 
Did you mean: 

301 Moved Permanently on API

301 Moved Permanently on API

Hi,

 

I'm trying to create a customer and Im getting this as my response:

<html>

<head><title>301 Moved Permanently</title></head>

<body bgcolor="white">

<center><h1>301 Moved Permanently</h1></center>

<hr><center>nginx</center>

</body>

</html>

 

I am posting to this endpoint "/rest/default/V1/customers" to create the customer. Where do I need to post this to now or how can I found out?

 

Magento ver. 2.2.5

1 REPLY 1

Re: 301 Moved Permanently on API

Hello @lanadmina24d39 

 

Please follow this Magento documentation to create new customers :

https://magento.redoc.ly/2.3.5-customer/tag/customers#operation/customerAccountManagementV1CreateAcc...

 

Let us know if you send same parameters and it still failed.

Problem Solved ? Click on 'Kudos' & Accept as Solution to encourage to write more answers !