Skip to content
This repository has been archived by the owner on Feb 10, 2022. It is now read-only.

API Refresh access token no funciona #39

Open
juancresc opened this issue Dec 13, 2015 · 2 comments
Open

API Refresh access token no funciona #39

juancresc opened this issue Dec 13, 2015 · 2 comments

Comments

@juancresc
Copy link

He obtenido con éxito refresh_token, pero cuando accedo a renovarlo, me tira un error 404, esta es la URL a la que accedo, con los correspondientes parámetros

https://api.mercadolibre.com/oauth/token?grant_type=refresh_token&client_id=[]&client_secret=[]&refresh_token=[]

@fergara
Copy link

fergara commented Jan 5, 2021

5 years in and still not a word from MercadoLibre dev team? Aquí está la documentación actual: https://developers.mercadolivre.com.br/pt_br/autenticacao-e-autorizacao#Refresh-token.

@fergara
Copy link

fergara commented Jan 5, 2021

Hi. I found the solution. You should do a POST.

curl -X POST \ -H 'accept: application/json' \ -H 'content-type: application/x-www-form-urlencoded' \ 'https://api.mercadolibre.com/oauth/token' \ -d 'grant_type=refresh_token' \ -d 'client_id=<CLIENT_ID>' \ -d 'client_secret=<CLIENT_SECRET>' \ -d 'refresh_token=<REFRESH_TOKEN>'

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

2 participants