jcsajtai
9 years agoContributor
Embedded pictures dont work in post
Dear Helpdesk, In the Lithium Forum integration for Vodafone Germany we have a problem when we want to send a post reply from our system with an embedded picture. Today at 11:24:35 I tried to...
- 9 years ago
There are a couple of things I noticed. The URL you pasted appears to be missing a /. Here is the URL you pasted:
https://forum-stage.vfd2-testnet.de/restapi/vcusers/login/Hanni_Marteau/media/albums/default/public/images/upload?restapi.session_key=Uqnx0wRZnWyt3SJl76BxBwZ5W1MihRSVykcF2hgKmK4.&credentials.user=%2Fusers%2Flogin%2FHanni_Marteau&restapi.response_format=json
There is a / missing after vc, corrected it would be: .../restapi/vc/users/login/...
Also, you will want to make sure you are performing this request using HTTP POST as a multipart/form-data, we do not allow GET for upload. The upload requires that as part of the multipart/form-data body that the image.content field has the file content. One thing you might also check is that this specific user has access to upload images in our end-user UI to ensure they have proper permissions to perform the action.