[99s-extend] How to use the PUT verb with Cowboy_Rest ?

Stéphane Wirtel stephane at wirtel.be
Sun Aug 24 01:58:12 CEST 2014


Hi all,

1. I would like to use the cowboy_rest protocol with cowboy 1.0 but I 
have a small crash.

Here is my code:

https://www.friendpaste.com/7O3X4fG4u31gBg9MgW5xg4

Could you tell me if I correctly use cowboy_rest for the PUT verb? I 
have seen is_conflict/2, but I don't know how to use it.

2. I would like to change the response code, but I get the error. Is it 
possible?

Thank you.

Regards,

Stephane

--
Stéphane Wirtel - http://wirtel.be - @matrixise


More information about the Extend mailing list