• Can you please help in below api call document where one of the GET api is not working
    
    https://docs.thimpress.com/learnpress/developer-guide/rest-api/#5-list-all-lessons-on-the-website
    
    We are getting token from below api 
    
    /wp-json/learnpress/v1/token
    
    
    {
    
    "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczpcL1wvYWNhZGVteS5ydXNoaWtzaGFoLmNvbSIsImlhdCI6MTcwOTI4OTk2MSwibmJmIjoxNzA5Mjg5OTYxLCJleHAiOjE3MDk4OTQ3NjEsImRhdGEiOnsidXNlciI6eyJpZCI6IjIxNSJ9fX0.8K_WUJ6k7j96Cuca2CVEAEEH8XLUpn22gwMBqHnZv9g",
    
    "user_id": "215",
    
    "user_login": "priyank",
    
    "user_email": "[email protected]",
    
    "user_display_name": "priyank s"
    
    }
    
    When we try to get lesson api at that time showing below error in the api response. 
    
    <u>/wp-json/learnpress/v1/lessons</u>
    
    getting below response
    
    {
    
    "code": "lp_jwt_auth_no_auth_header",
    
    "message": "Authorization header not found.",
    
    "data": {
    
    "status": 401
    
        }
    
    }
    
    Can anybody help us to resolve this issue? 

    The page I need help with: [log in to see the link]

The topic ‘Learn Press API not working’ is closed to new replies.