User bio
404 bio not found
Member since Nov 4, 2021
Posts:
Replies:
Juuso Lepistö · Nov 15, 2021 go to post

So I added a parameter to the same file, where all my methods (post, get etc.) are located:

HandleCorsRequest = 1;

And changed: Set data = {}.%FromJSON(%request.Content) back to Set data = %request.Content


Now my POST method suddenly works. I don't know how or why, but its works.

Juuso Lepistö · Nov 6, 2021 go to post

Okay, so I figured out that I was missing a little more code from my POST -method

Needed to change: 

Set data = %request.Content ==> Set data = {}.%FromJSON(%request.Content)

This got me past my previous error and to the next one, which is as follows:

"ERROR #5035: General exception Name 'READ error while reading input stream' Code '10' Data ''"

Juuso Lepistö · Nov 4, 2021 go to post

Yes, I just figured that out by looking at my message queues. There was some random alert, which I aborted and Voila, I was able to stop the production. 

Thank you all for the help and responses.

Certifications & Credly badges:
Juuso has no Certifications & Credly badges yet.
Followers:
Juuso has no followers yet.
Following:
Juuso has not followed anybody yet.