Skip to content

Sending Http Request and Getting Responce #2

@sukhmeet032795

Description

@sukhmeet032795

The processHttpResponse method returns this:

Exception (28):
epc1=0x4000bdc8 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000

ctx: cont
sp: 3ffefd70 end: 3ffeff90 offset: 01a0

stack>>>
3ffeff10: 00000000 3ffeed14 3ffeeb14 40202ded
3ffeff20: 00000000 00000000 3ffeeb14 000001fe
3ffeff30: 3ffeeb14 00000018 3ffeef30 40203c70
3ffeff40: 00000001 3ffe87d6 3ffeef30 3ffeef64
3ffeff50: 00000001 3ffeeb14 3ffeef30 40201c51
3ffeff60: 3ffe84de 00000000 3ffeef5c 40201b16
3ffeff70: 3fffdc20 00000000 3ffeef5c 40203829
3ffeff80: 00000000 00000000 3ffeef70 40100114
<<<stack<<<

ets Jan 8 2013,rst cause:2, boot mode:(3,3)

load 0x4010f000, len 1264, room 16
tail 0
chksum 0x42
csum 0x42
~ld

I am using Arduino ide (1.6.7) with ESP8266. While trying to get the responce from the request, i get this error.

wifi.sendHttpRequest("jsonplaceholder.typicode.com", 80, "GET", "/posts/1", "NULL", "NULL");

This is the data i am giving to the sendHttpRequest method. I intend to post some data to an api server using the dns.How should i solve the above issue. I am using the example.ino as a sample for testing purpose

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions