Skip to content

Cevalloa/CouponFetcher_iOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Messing Around With AFNetworking

Introduction

This is an old project, and not something I am proud of. I was just finddling around with AFNetworking, nothing serious.

Requirements

The Layout I want to build is:

  1. Coupons
  • Show coupons from our REST API
  • Resource: http://api.bluepromocode.com/v2/promotions
  • Method: GET
  1. 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
  1. Bonus: Signup
  • Signup using our REST API
  • Resource: http://api.bluepromocode.com/v2/users/register
  • Method: POST
  • JSON Encoded Parameters: fullName, email, password
  1. Bonus: Personalized Coupons
  • Show personalized coupons from our REST API (requires authentication)
  • Resource: http://api.bluepromocode.com/v2/users/self/promotions/suggestions
  • Method: GET

Notes

Uses AFNetworking.. as a heads up this project is not MVC

About

Fetches coupons after user login, features AFNetworking

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published