-
Notifications
You must be signed in to change notification settings - Fork 39
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
Help me !! #42
Comments
Well like it says, you're supplying a single string with some stuff inside but the function expects two strings like this, first being the key and second being the value:
|
Well, nice to try to clarify, but it is a json like the one described in the header, it is not just a text, the point is that at the root of the processing it does not understand the {} keys if they are used without "" as in a structure is understood as a void {}. |
Ah ok, I guess you are basing this on the overloaded addData function here in the source ? |
Thanks for the help, but even changing it at the root I didn't get a positive result. |
Ah right, I didn't change it at the root or anything, don't even know where library files are stored in processing, I just meant not importing the library but copying that specific class (PostRequest) from the source into a different tab in your processing project just like that to make it work, it does work for me. |
Hello I'm trying to use a json's post but the addData function doesn't understand json to compose the request, I tried the example that is available, but an error appears (the "addData" function expects parameters like "addData (String, String)" in my http server along with my api in the postman is working, I wanted to test with processing, could help me.
The text was updated successfully, but these errors were encountered: