Hi Scott,
Thanks for your reply!
So if your sample code is executed, the expected result is 2 file which is my_file.json and other_file.dat ?
The data of my_file.json which is { "json": "data here" } , its expected to be inside the my_file.json that the requester can download?
I've tried to ...
Search found 2 matches
- Tue Jul 04, 2023 3:48 am
- Forum: YAJL-ILE
- Topic: Is it possible to send back JSON responses with a file or attachment?
- Replies: 3
- Views: 17100
- Mon Jul 03, 2023 4:55 am
- Forum: YAJL-ILE
- Topic: Is it possible to send back JSON responses with a file or attachment?
- Replies: 3
- Views: 17100
Is it possible to send back JSON responses with a file or attachment?
Hi,
The case is, im using postman/swagger to send the request, and i want to return the response with a file or attachment (which is i need to send using multipart is it?).
Is it possible to use YAJL or HTTPAPI?
i've tried to use yajl_writeStdout() from YAJL, when i read the YAJLR4 on the yajl ...
The case is, im using postman/swagger to send the request, and i want to return the response with a file or attachment (which is i need to send using multipart is it?).
Is it possible to use YAJL or HTTPAPI?
i've tried to use yajl_writeStdout() from YAJL, when i read the YAJLR4 on the yajl ...