service: factcheckthenews-prototype 
provider:
  name: aws
  runtime: nodejs4.3
  memorySize: 128
  stage: v1
  region: us-east-1
functions:
  check:
    handler: handler.check
    events:
      - http:
          path: check
          method: get

service: factcheckthenews-prototype 
provider:
  name: aws
  runtime: nodejs4.3
  memorySize: 128
  stage: v1
  region: us-east-1
functions:
  check:
    handler: handler.check
    events:
      - http:
          path: check
          method: post
Swap to POST request endpoint
Swap to POST request endpoint
