Skip to content
  • Image Upload as Topic

    Unsolved Technical Support
    13
    0 Votes
    13 Posts
    2k Views
    PitaJP
    You can avoid the upload step by copying the images directly to nodebb/public/uploads/migrated and then embedding them like ![image](/assets/uploads/migrated/image.jpg)
  • 0 Votes
    14 Posts
    7k Views
    Tanguy Bodin-HullinT
    Thank you. I did disable the option in the API-write module, and now it's working in a shell terminal when I send the above CURL command. But when I try to use CURL in HTTPS within my PHP program, I get this message (401) : A valid login session was not found. Please log in and try again. I don't understand why I get this message, because : I'm sending the Master token in the Header by calling the PHP function curl_setopt with the option CURLOPT_HTTPHEADER I try to send the credentials (login/password) by calling the PHP function curl_setopt with the option CURLOPT_USERPWD and login/password.