This is an old project, and not something I am proud of. I was just finddling around with AFNetworking, nothing serious.
The Layout I want to build is:
- Coupons
- Show coupons from our REST API
- Resource:
http://api.bluepromocode.com/v2/promotions
- Method:
GET
- Login
- Login using our REST API
- Resource:
http://api.bluepromocode.com/v2/users/login
- Method:
POST
- JSON Encoded Parameters:
email
,password
- We have a test account you can use: email:
[email protected]
, password:12345678
- Bonus: Signup
- Signup using our REST API
- Resource:
http://api.bluepromocode.com/v2/users/register
- Method:
POST
- JSON Encoded Parameters:
fullName
,email
,password
- Bonus: Personalized Coupons
- Show personalized coupons from our REST API (requires authentication)
- Resource:
http://api.bluepromocode.com/v2/users/self/promotions/suggestions
- Method:
GET
Uses AFNetworking.. as a heads up this project is not MVC