Skip to content

nekszer/RestClient-MFC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RestClient-MFC

RestClient MFC

Example

/* 
Params = {
	string: server,
	string: action,
	CHttpConnection: HTTP_VERB_ [ POST, GET, PUT, HEAD, LINK... ],
	string: [email protected]&password=231516326,
	int: port
};
*/ 

Rest rest; // Creamos petición rest
// hacemos la petición rest : http://10.63.1.138/BitacoraMovil/Hello
string result = rest.Request("10.63.1.138", "BitacoraMovil/Hello", CHttpConnection::HTTP_VERB_GET, "", 1337);

Rest rest; // Creamos petición rest
// hacemos la petición rest : http://www.myserver.com/ActionUrl/Action?id=15&isactive=true
string result = rest.Request("www.myserver.com", "ActionUrl/Action", CHttpConnection::HTTP_VERB_GET, "id=15&isactive=true", 1337);

About

RestClient MFC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages