Bodden explica que "la forma más débil de autenticación, pensada para identificar más que para proteger los datos, consiste en un sencillo 'API token', un número que forma parte del código de la aplicación".
Bodden explains that "the weakest form of authentication, meant to identify rather than to protect the data, uses a simple API-token, a number embedded into the App's code".
Alte rezultate
Lo que vamos a hacer es buscar una cabecera llamada Api-Token.
What we are going to do is check for a header called Api-Token.
Así que vamos a recuperar el encabezado llamado Api-Token.
So we are going to retrieve the header called Api-Token.
Ahora, sin el Api-Token, esto no debería funcionar.
Now without the Api-Token, this should not work.
Y lo primero que vamos a hacer es recuperar el encabezado Api-Token.
And the first thing we're going to do is retrieve the Api-Token header.
Copia y pega el API token en el formulario de Brand Embassy.
Copy paste the API token into Brand Embassy's form.
Elige API para ver tu API token, y luego cópialo.
Choose API to see your API token, now copy your API Token.
Lo único que necesita de esta página es el API Token que comienza con xoxb-.
The only thing needed from this page is the API Token that starts with xoxb-.
Vamos a deshacernos de Api-Token solo para que podamos ver que esto funciona sin ningún tipo de autenticación.
Let's get rid of the Api-Token just so that we can see that this works without any type of authentication.
Inserta un nombre para la cuenta de sincronización > Ingresa el API token.
Enter a name for the synchronization account > Enter the API token!
Si sacamos el Api-Token, entonces obtendremos un 401.
If we take out the Api-Token, then we get a 401.
Así que vamos a utilizar nuestra request, vamos a llamar al método de encabezado, y queremos Api-Token.
So we're going to use our request, we're going to call the header method, and we want Api-Token.
Conținut posibil inadecvat
Exemplele au rolul de a te ajuta să traduci cuvinte sau expresii corect si adaptat la context. Nu sunt selectate sau validate manual, așadar pot conține termeni inadecvați. Te rugăm să raportezi exemplele pe care le consideri inadecvate. Traducerile vulgare sau colocviale sunt în general marcate cu roșu sau cu portocaliu.
Înregistrează-te pentru a accesa mai multe exemple