• EnglishEspañol日本語한국어Português
  • Inicia sesiónComenzar ahora

Te ofrecemos esta traducción automática para facilitar la lectura.

In the event of any inconsistency between the English version and the translated version, the English versionwill take priority. Please visit this page for more information.

Crea una propuesta

Respuesta 301 para API de llamada REST

Problema

Su API de llamada REST devuelve un mensaje de error 301 que puede incluir parte o toda esta información:

curl -X GET 'http://rpm.newrelic.com/v2/applications/1234567890.json' \
-H 'X-Api-Key:REDACTED' -i
HTTP/1.1 301 Moved Permanently
Status: 301 Moved Permanently
Location: http://rpm.newrelic.com/v2/applications/1234567890.json
...
You are being redirected https://rpm.newrelic.com/v2/applications/1234567890.json

O

curl -X GET 'http://rpm.newrelic.com/v2/applications/1234567890.json' \
-H 'X-Api-Key:REDACTED'
You are being redirected https://rpm.newrelic.com/v2/applications/1234567890.json

Solución

New Relic requiere HTTPS para todo el tráfico hacia y la API REST. Esto incluye tanto el tráfico entrante como el saliente. Si su API de llamada REST usa HTTP, cambie su script o programa a HTTPS.

Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.