1 Resposta
- Mais recentes
- Mais votos
- Mais comentários
0
Did it another way. I just named all my custom fields in the form x-ignore-* and then I also have an x-ignore-post-upload-url which is the action my form submit ultimately goes to. So, when the xhr request completes sending the file to AWS, I do an ajax call to that action and include my form fields as data in the xhr request to my controller.
In other words, not using the allow_any policy at all.
Edited by: JasonSr on Apr 23, 2020 6:29 AM
respondido há 4 anos
Conteúdo relevante
- AWS OFICIALAtualizada há 2 anos