---
title: "can anyone help me to send http command using io library ?"
url: "https://maker.wiznet.io/forum/14010"
markdown_url: "https://maker.wiznet.io/forum/14010/md"
type: "Forum topic"
category: "Ethernet Chips"
author: "Eng.kourosh"
created: "2020-09-19T10:39:11+09:00"
last_activity: "2020-09-29T17:49:25+09:00"
language: "en"
views: 697
replies: 2
source: "WIZnet Makers forum (https://maker.wiznet.io/forum/)"
---

# can anyone help me to send http command using io library ?

## Question

Asked by Eng.kourosh on 2020-09-19 in Ethernet Chips.

hi guys
i need to send http command to active or deactive relay , i’m using io Library wiznet

i could active or deactive gpio with button on UI webpage but i need when user enter the url link (http command) then gpio active…

how can i get value of url link?

foe example:

this is my url link to active gpio :

192 . 168 . 100 . 45 / gpioON

can i get “gpioON” string from url link and compare it ?

## Replies

### Reply 1 by lawrence, 2020-09-27

Hi, Eng.kourosh

Sorry, I am so late to check your question…

I think you need to use httpserver library for w5500 side and connect from web.

Then need to build web site, when you send url 192.168.100.45:8080/gpio_on, the http body will send more data for gpio function. Or parsing url and control gpio.

Once you success http server(w5500) and http client(web), w5500 will get the url web sending.

![](https://github.githubassets.com/favicons/favicon.svg) [github.com](https://github.com/Wiznet/ioLibrary_Driver/tree/master/Internet/httpServer)

### [ioLibrary_Driver/Internet/httpServer at master · Wiznet/ioLibrary_Driver](https://github.com/Wiznet/ioLibrary_Driver/tree/master/Internet/httpServer)

[master/Internet/httpServer](https://github.com/Wiznet/ioLibrary_Driver/tree/master/Internet/httpServer)

ioLibrary_Driver can be used for the application design of WIZnet TCP/IP chips as W5500, W5300, W5200, W5100 W5100S.

Thank you

### Reply 2 by Eng.kourosh, 2020-09-29 (in reply to reply 1)

Hi Lawrence, thank you for responding

Can you help me to use httpserver for getting url and send command to gpio? Or simple example for that

I confused i don’t know what to do

Thank you

---

Source: https://maker.wiznet.io/forum/14010
