Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

POST with xml input #39

Open
varunsagar20 opened this issue Mar 19, 2013 · 2 comments
Open

POST with xml input #39

varunsagar20 opened this issue Mar 19, 2013 · 2 comments

Comments

@varunsagar20
Copy link

I am trying to pass an xml input for a POST test case , can someone please help me with how to pass an xml input to restfuse

@drejc
Copy link

drejc commented Mar 20, 2013

Here is a simple code snippet:

@httptest(method = Method.POST,
path = TestSettings.postPath,
content = XML_CONTENT,
authentications = { @authentication(user = "test", password = "test", type
= AuthenticationType.BASIC) } )
public void testXMLPost()
{
assertOk(response);
}

On Tue, Mar 19, 2013 at 10:23 PM, varunsagar20 [email protected]:

I am trying to pass an xml input for a POST test case , can someone please
help me with how to pass an xml input to restfuse


Reply to this email directly or view it on GitHubhttps://github.com//issues/39
.

@varunsagar20
Copy link
Author

thanks a lot

On Wed, Mar 20, 2013 at 1:59 AM, drejc [email protected] wrote:

Here is a simple code snippet:

@httptest(method = Method.POST,
path = TestSettings.postPath,
content = XML_CONTENT,
authentications = { @authentication(user = "test", password = "test", type
= AuthenticationType.BASIC) } )
public void testXMLPost()
{
assertOk(response);
}

On Tue, Mar 19, 2013 at 10:23 PM, varunsagar20 [email protected]:

I am trying to pass an xml input for a POST test case , can someone
please
help me with how to pass an xml input to restfuse


Reply to this email directly or view it on GitHub<
https://github.com/eclipsesource/restfuse/issues/39>
.


Reply to this email directly or view it on GitHubhttps://github.com//issues/39#issuecomment-15164115
.

Respectfully
Varun Sagar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants