1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
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
답변함 4년 전