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

FromParam not able to handle this format in post request .formParam("Item[0][name]","abcdss") . #1240

Open
Praneet-j opened this issue Dec 9, 2019 · 4 comments

Comments

@Praneet-j
Copy link

Response res=given().contentType(ContentType.URLENC.withCharset("UTF-8")).headers(map).cookies(setCookie()).formParam("Type","abc").formParam("Item[0][name]","abcdss").when().post()

I am not able to post this request. As formparam contains .formParam("Item[0][name]","abcdss")

Can some one please help me how to send this request.

@johanhaleby
Copy link
Collaborator

What is the error that you're getting?

@Praneet-j
Copy link
Author

{"Status":"Failed","Message":"Please specify the Item Name"}

@Praneet-j
Copy link
Author

What is the error that you're getting?
@johanhaleby Have you got any solution for this.

@johanhaleby
Copy link
Collaborator

I need more info. What does the server expect the request to look like?

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