Server returns status code 0
-
Hello everyone.
I am working on a simple server authentication system for my plugin. When sending the request to the server with the correct parameters, I get no response. When I purposely put a wrong parameter such as license key, then the status code is 200 with a response as JSON, telling me that the license key is not correct.
Am I doing something wrong?Any help is appreciated.
-
@Sawer Use hoppscotch to debug
-
@d-healey Thanks for replying . I tried on hoppscotch to debug the request and it works perfectly , so it works in the browser , it is also working in hopscotch. Is Hise the problem, perhaps ?
-
@Sawer You'll need to start sharing some code and the URL for us to be able to help.
-
@d-healey Could this be a classic case of needing to run HISE as administrator?
-
@Dan-Korneff No
-
@d-healey Will send it as soon as I get home.. but it is weird. I am using Easy digital downloads as Software licensing tool. Maybe it is the fact that I do not use JWT one ?? But In that case, I still get a 200 status code when I purposely send a wrong license.. that is weird.
-
@Sawer All 200 means is that the request succeeded, it doesn't mean that it did what you want. 0 usually means an error.
-
@d-healey Solved, the name of the product had some spaces in between. Since characters do have UTF8, I replace the space with '%20'. that's it.
-