IMXRT1050-EVKB - Setting up a HTTP Client

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMXRT1050-EVKB - Setting up a HTTP Client

1,014 Views
marcus_masca
Contributor I

Hi there,

I have recently acquired this board and would like to set it up as a HTTP client and make a HTTP request through the ethernet port using the 'lwip' package (either bm or FreeRTOS is fine)

Having looked through the demo apps, there is one which sets up the board as the HTTP server whereby the PC it is connected to, can make a HTTP request through a browser. This app is located at "\boards\evkbimxrt1050\lwip_examples\lwip_httpsrv\"

Essentially, I am attempting to do the inverse of what the demo app implements. I was wondering if anyone could suggest how I could modify the code to achieve this, or advise me on some code which does this.

Regards,

0 Kudos
1 Reply

826 Views
Carlos_Musich
NXP Employee
NXP Employee

Hi Marcus,

In newest SDK (2.4) you can find the following example:

C:\nxp\EVKB-IMXRT1050\boards\evkbimxrt1050\lwip_examples\lwip_httpscli_mbedTLS

You can also use a library like this:

HTTPClient - Fixed custom headers and Basic authorization, a... | Mbed 


Regards,
Carlos
NXP Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos