Project
EasyHttp
Priority
Normal
Type
Feature
State
Fixed
Assignee
Unassigned
Subsystem
No subsystem
Fix versions
No Fix versions
Affected versions
No Affected versions
Fixed in build
1.6.12.0  
  • Created by   Jonas Van der Aa
    18 months ago (29 Nov 2011 02:03)
  • Updated by   Hadi Hariri
    8 months ago (15 Oct 2012 06:00)
 
EHTTP-35 Support for simple Post
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
I would like to be able to post something by simply passing the url and a string that represents the body.

string bodyContent = "queryParameterFormattedData";
var client = new HttpClient();
var response = client.Post(url,bodyContent);
Comments (2)
 
History
 
Linked Issues (?)
 
TeamCity Changes (0)
 
Hadi Hariri (Admin)
  Hadi Hariri (Admin)
29 Nov 2011 02:54
18 months ago
How is the body encoded? Does it no work when using POST now?
Jonas Van der Aa
  Jonas Van der Aa
30 Nov 2011 02:21
18 months ago
No, right now I need to supply an object and a string that sets the content type.