Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted March 22, 20231 yr I am trying to set record image via Pages API using following variable. fields[record_record][filename] = 'Raw Content' But none of variable is working, but if i create custom field and post data to that it is working. fields[4][filename] = 'Raw Content' Let me know if i am doing something wrong.
March 23, 20231 yr Author 16 hours ago, JustinHawk said: record_record record_image* On 6/1/2021 at 3:49 PM, Stuart Silvester said: It doesn't look like we specifically handle images/uploads via the REST API for this endpoint. I have logged an internal bug report for this. @Stuart Silvester was this fixed? I am trying to do tha same for record_image, but this isn't working.
April 7, 20231 yr Author Just now, virap1 said: @JustinHawk, did you find a way to make this work? IPS isn't handling that in their code. Tried sending in "record_image" field, but that fails. Though the same method works if I send image in a custom field.
April 7, 20231 yr Author 1 minute ago, virap1 said: @JustinHawk, did you find a way to make this work? Thank you very much. Two ways actually. 1. Using selenium, to upload image. 2. Modified the API file and added a code to update function that accept base64 version of image with filename. Code example would be in Gallery API file. Would have shared but currently on mobile.
April 7, 20231 yr 30 minutes ago, JustinHawk said: 2. Modified the API file and added a code to update function that accept base64 version of image with filename. Code example would be in Gallery API file. Would have shared but currently on mobile. Thank you so much. I would be grateful if could send me the code for this.