- Issue created by @bogdog400
- πΊπΈUnited States bogdog400
This is kind of strange. I think the problem is caused by using the full domain name instead of the IP address in the URL. In other words:
http://domain.name/jsonapi/node/contentType
behaves differently than
http://IP.ADD.RE.SS/jsonapi/node/contentType
In the past, I was just using the IP address in the URL because I was building out the site. Last week, I turned off this configuration in the NGINX front end and started using only the full domain name. So literally the only change I made in my code was switching the URL.
When I turn back on that configuration file in NGINX and then use the IP address in the URL, I get the old format response from POSTing a new piece of content. The JSON has field right where I expected them.
Is there something that could be causing this?
TIA!
- π³π±Netherlands bbrala Netherlands
There might be some redirect happening in your application? Can you see if you are being redirected perhaps?
- πΊπΈUnited States bogdog400
Thanks. That could be.
Is there some place I should check? The NGINX configuration files?
Or is this deeper in the network?
- π³π±Netherlands bbrala Netherlands
I would first look at console. Also you could look at the nginx log.