Search found 6 matches

by JerryFrag
Wed May 25, 2022 4:11 pm
Forum: ESP-AT
Topic: AT+HTTPCPOST
Replies: 6
Views: 4888

Re: AT+HTTPCPOST

Hi,

I want to report that the latest firmware release for the WROOM worked and I am able to POST JSON data without error.

Thank you.

Is there a proposed release date for the firmware?
by JerryFrag
Fri May 13, 2022 7:12 pm
Forum: ESP-AT
Topic: AT+HTTPCPOST
Replies: 6
Views: 4888

Re: AT+HTTPCPOST

Hi, I should have been more specific. It looks like this is a problem related to version 2.1.0.0 of the firmware, where data is being sent at text/xml even though I specified application/json. I saw a note to update the code to 2.2.0 but the same problem exists. I notice a note for 2.3.0.0 for the M...
by JerryFrag
Tue May 10, 2022 2:18 pm
Forum: ESP-AT
Topic: AT+HTTPCPOST
Replies: 6
Views: 4888

Re: AT+HTTPCPOST

Just a quick update:

When using AT+HTTPCLIENT I formatted the JSON data correctly and the command returned OK.

I used the exact same JSON data with this command and the same server replies that it needs the first data item.

Any thoughts?
by JerryFrag
Tue May 10, 2022 1:42 pm
Forum: ESP-AT
Topic: Send JSON using AT+HTTPCLIENT
Replies: 4
Views: 14659

Re: Send JSON using AT+HTTPCLIENT

Thank you very much.

This solved my problem (escaping the comma \, in the JSON string)!
by JerryFrag
Mon May 09, 2022 8:56 pm
Forum: ESP-AT
Topic: AT+HTTPCPOST
Replies: 6
Views: 4888

AT+HTTPCPOST

Hi, I'm using an ESP32-WROOM 32E. This device is connected to another chip and the ESP is being used only for WiF, and is being configured and commanded over a UART. I am having trouble getting AT+HTTPCPOST to work. To test, I used: AT+HTTPCPOST="http://httpbin.org/post",65,1,"content-type: applicat...
by JerryFrag
Mon May 09, 2022 8:38 pm
Forum: ESP-AT
Topic: Send JSON using AT+HTTPCLIENT
Replies: 4
Views: 14659

Re: Send JSON using AT+HTTPCLIENT

Hi, I'm having an issue with AT+HTTPCLIENT, but only regarding sending JSON data. If my JSON data is in the format of {"item1": "data1", "item2": "data2"}, I make sure to to escape the " so that my data looks like this: {\"item1\": \"data1"\, \"item2\", "\data2"} So the format of my command is as su...