Reputation: 31724
I want to use curl for a Post Request. This link tells how to do it. But what if the content inside a param has charaters like &
. It disintegrates the text and assumes it as an another attribute. How to deal with such characters?
Upvotes: 1
Views: 651
Reputation: 1
Perhaps you can URL encode them.
I have used Eric Meyer’s page with success. In your case
& = %26
Upvotes: 1
Reputation:
You need to encode the '&' character... dependant on which language you're coding in, there's always a way.
Upvotes: 0