Skip to content

PUT requests always returns response status was 0 #50

@nohorbee

Description

@nohorbee

I'm using Webduino library for implementing a REST API, and while coding and testing, I realized that, when submitting a request by using PUT verb, the application fails. If I just change the code to put it into a different verb (such as PATCH) everything is working properly.

I've went through the library code and there is no visible error (followed the execution by printing with Serial and everything looks good), but I'm getting the following message:

Could not get any response
This seems to be like an error connecting to http://172.16.20.251/servo. The response status was 0.
Check out the W3C XMLHttpRequest Level 2 spec for more details about when this happens.

(using Postman chrome extension).

I tried other tools to generate the put requests and it's failing equally.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions