-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
POST and DELETE methods #2
Comments
Could you please show me your code and server environment here? I will check that. |
The server is a basic express api server running locally. In a HTTP environment it would look like this.
Since is it COAP the current server is looking more like this:
Tried to modify your code by adding to coap.cpp
and to coap.h
But I underestimated your work. It didn't work for me. |
Okay, this COAP library is reference and some buggy code, not fully including RFC 7252 about a optional header/proxy...etc. And I mean show your Photon code, your code is only server side. I check this library on microcoap and libcoap, so If you use other library(nodecoap?) I don't know what you use. I will debug this library with same your environment. |
What would it take to add the POST and DELETE methods as well. I have tried, but don't think I understand the packets.
The text was updated successfully, but these errors were encountered: