Search found 5 matches

by dinosauria123
Tue Oct 23, 2018 6:14 am
Forum: General Discussion
Topic: POST replaces charactor "+" to charactor " " in Base64 encoded text
Replies: 1
Views: 3371

POST replaces charactor "+" to charactor " " in Base64 encoded text

Hi, I try to POST base64 encoded jpeg image from M5Camera to another server. I could Base64 encode using by mbedtls_base64_encode(), it seems to be fine. but I used POST method in esp_http_client_example.c in example of esp-idf, POST replaces charactor "+" to charactor " " in Base64 encoded text. Ho...
by dinosauria123
Fri Oct 12, 2018 1:09 am
Forum: ESP-IDF
Topic: Http post file (multipart).
Replies: 11
Views: 21428

Re: Http post file (multipart).

I found two API http_response_begin_multipart(), http_response_end_multipart() in esp32-http-server.

https://github.com/igrr/esp32-http-server/

This may help implement http multipart.
by dinosauria123
Tue Oct 09, 2018 11:33 pm
Forum: ESP-IDF
Topic: Http post file (multipart).
Replies: 11
Views: 21428

Re: Http post file (multipart).

Thank you for the link.

I will add mongoose codes to my project.

Here's my M5Camera code without POST. (article written in Japanese)

https://qiita.com/dinosauria123/items/c ... 23dc916609

Thank you again for your helps !
by dinosauria123
Tue Oct 09, 2018 7:32 am
Forum: ESP-IDF
Topic: Http post file (multipart).
Replies: 11
Views: 21428

Re: Http post file (multipart).

Thank you for your comment. Did you just copy mongoose.c and mongoose.h files to your build tree ? Did you have uploaded your code somewhere ? I try to upload jpag data from M5camera to my Node-RED server. I could post partial base64 data to sever, but the base64 data is too big, I need multipart up...
by dinosauria123
Fri Oct 05, 2018 6:12 pm
Forum: ESP-IDF
Topic: Http post file (multipart).
Replies: 11
Views: 21428

Re: Http post file (multipart).

Any progress ?
I am also interesting about it.