<input name="file" type="file" required="true" accept="application/pdf"> <input type="submit" name="submit"> </form> The form takes a file as input and in this form I have disabled all other file types except pdf. The form's action" /> <input name="file" type="file" required="true" accept="application/pdf"> <input type="submit" name="submit"> </form> The form takes a file as input and in this form I have disabled all other file types except pdf. The form's action" />

Uploading attachment through Rest API Salesforce: Simple working solution

Uploading attachment through Rest API in Salesforce is quite easy, though the documentation is not that clear on this. Simple HTML Form Let’s create a simple HTML form to upload the file. The form takes a file as input and in this form I have disabled all other file types except pdf. The form’s action […]

Scroll to top